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

Enables drag-and-drop behaviour in Shiny apps, by exposing the functionality of the 'SortableJS' <> 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.

Version: 0.5.0
Imports: htmltools, htmlwidgets, learnr (≥ 0.10.0), shiny, assertthat, jsonlite, utils, ellipsis, rlang
Suggests: base64enc, knitr, testthat (≥ 2.1.0), withr, rmarkdown, magrittr, webshot, spelling, covr
Published: 2023-03-26
DOI: 10.32614/CRAN.package.sortable
Author: Andrie de Vries [cre, aut], Barret Schloerke [aut], Kenton Russell [aut, ccp] (Original author), RStudio [cph, fnd], Lebedev Konstantin [cph] ('SortableJS',
Maintainer: Andrie de Vries <apdevries at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: sortable results


Reference manual: sortable.pdf
Vignettes: Using rank list and bucket lists in Shiny apps
Cloning and removing elements
Novel solutions using sortable in shiny apps
Understanding the interface to sortable.js
Dynamically updating a rank_list element
Using custom styles with CSS


Package source: sortable_0.5.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): sortable_0.5.0.tgz, r-oldrel (arm64): sortable_0.5.0.tgz, r-release (x86_64): sortable_0.5.0.tgz, r-oldrel (x86_64): sortable_0.5.0.tgz
Old sources: sortable archive

Reverse dependencies:

Reverse imports: appRiori, bettr, Certara.R, IGoRRR, LACE, safetyGraphics, scRNAseqApp, shinyrecipes, smvgraph, tfrmtbuilder
Reverse suggests: DRomics, learnr, musicatk, shiny.fluent, shinyquiz, spatialHeatmap, tablet


Please use the canonical form to link to this page.