Skip to content

sortable

0.6.0

Drag-and-Drop in 'shiny' Apps with 'SortableJS'

25packages depend
85.8Kdownloads / year
93.5%test coverage
13/13checks pass

Overview

About
Maintained by Andrie de VriesFirst published 2019-12-017 releasesCRAN page ↗GitHub ↗

Enables drag-and-drop behaviour in Shiny apps, by exposing the functionality of the 'SortableJS' https://sortablejs.github.io/Sortable/ JavaScript library as an 'htmlwidget'. You can use this in Shiny apps and widgets, 'learnr' tutorials as well as R Markdown. In addition, provides a custom 'learnr' question type - 'question_rank()' - that allows ranking questions with drag-and-drop.

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.38
93.5%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
57%
References docs
7%

Downloads

85.8K
CRAN downloads in the past year
Rank #1,707 · ~235/day · ~7.1K/mo
Daily download trend is not available in this view yet.
5K30 days
15.8K90 days
85.8K1 year
Compare downloads with other packages →
Also on1.1K r2u33 autocran2.2K conda_forge

Repository

Repository
136Stars
33Forks
17Open issues
3Open PRs
0Releases
487Commits
9Contributors
rr-packagehtmlwidget
487 commits · Last activity 2026-02-18

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/rstudio/sortable on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (2)
VS CodeRStudio project
Show all practices
Coverage (1)
Codecov
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 1,673 (51%)Rd 873 (27%)Vignettes 688 (21%)JSON 25 (1%)
Code characteristics
Object systems
S36
Cyclomatic complexity
1.0 median / 6 max
Test cases
18 / 0.38 per code line

Test coverage

Line coverage

94%

Expression

86.4%

Tests / Examples

93.5% / 2% ex

Functions

45 16 exported

Complexity

1.7 avg / 6 max

Call network

45 nodes / 47 edges

Loading call graph…

Lowest coverage

45 functions
FunctionCycloCoverage
update_bucket_list exp10%
update_rank_list exp30%
dropNulls10%
incrementor10%
print.bucket_list10%
print.rank_list10%

People & History

People (5)
Maintainer (1)
Maintainer, Author
Authors (3)
Maintainer, Author
Author, ccp
Copyright holders (2)
Copyright holder, Funder · added in 0.6.0
Copyright holder
Funders (1)
Copyright holder, Funder · added in 0.6.0
Listed in earlier versions (1)
no longer listed · 0.4.3 to 0.5.0
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.0Latest
    2025-12-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.0
    2023-03-26 · diff ↗
  • 0.4.6
    2022-08-14 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.5
    2021-12-13 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.4
    2020-09-17 · diff ↗
  • 0.4.3
    2020-08-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.2
    2019-12-01
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-12-01
Total releases
7 / 7 yrs
License
MIT + file LICENSE OSI
Download size
1.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →