Skip to content

sortable

0.6.0Package record

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

15packages dependsuggested by 11
75.9Kdownloads / year
93.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.6.0

Bug fixes

  • Fix the problem with using sortable with shiny modules. To prevent user code from breaking, this requires opting in by using 'enable_modules()`. See the vignette for more information.

Enhancements

  • New function update_bucket_list() to update the items in a bucket list
  • New functionality to update labels in update_rank_list()

Updates

  • Update Sortable.js to version 1.15.6

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.6.0
README· In the repository, left out of the releaseVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 0.6.0Citation fileNoWebsiteYes · pkgdown
Help pages
15 (1 internal)includes a package overview page
Examples that run
100%9 run in a plain check (7 of them under a condition)
Exported functions with examples
64%
Documented parameters
97%
Return-value docs
57%
Help pages citing references
7%

Downloads

75.9K
CRAN downloads in the past year
Rank #1,666 · ~208/day · ~6.3K/mo
Daily download trend is not available in this view yet.
4.2K30 days
13.2K90 days
75.9K1 year
Compare downloads with other packages →
Also on1.2K r2u5 autocran2K conda_forge

Repository

137Stars
32Forks
17Open issues
3Open PRs
0Releases
487Commits
9Commit identities
rr-packagehtmlwidget
487 commits · Last activity 2026-02-18 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
79%
Median days to close, 50 most recently updated closed issues
51
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-07-14 · 1362026-09-12 · 137
PracticesBeta

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

Checks run against github.com/rstudio/sortable on 2026-10-11.

Continuous integration (1)
GitHub Actions
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-02-18

pkgdown site last built 2026-02-18

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 2 practices
Lint, format, editor (2)
VS CodeRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing sortable adds 46 packages (23 with compiled code, 33 MB of source tarballs). Heaviest: bslib 5.6 MB, promises 3.1 MB, sass 2.9 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none

People & History

People (5)
Maintainer since 0.4.2 (2019), Author
Author, ccp
Original author
Copyright holder, Funder · added in 0.6.0
Copyright holder
'SortableJS', https://sortablejs.github.io/Sortable/
Listed in earlier versions (1)
RStudio
no longer listed · 0.4.3 to 0.5.0
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.0Latest
    record
    2025-12-14 · current release · diff ↗ ·
    added 3 exports
    enable_modules, is_modules_enabled, update_rank_list
  • 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
    record
    2023-03-26 · diff ↗ ·
    added 1 export
    update_bucket_list
  • 0.4.6
    record
    2022-08-14 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.5
    record
    2021-12-13 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.4
    record
    2020-09-17 · diff ↗
  • 0.4.3
    record
    2020-08-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.2
    record
    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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sortable")
de Vries, A., Posit, Konstantin, L., Russell, K., & Schloerke, B. (2025). sortable: Drag-and-Drop in 'shiny' Apps with 'SortableJS' (Version 0.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.sortable

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sortable version 0.6.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy