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.
| Version: | 0.6.0 |
| Imports: | assertthat,cli,htmltools,htmlwidgets,jsonlite,learnr (≥0.10.0),rlang (≥ 1.0.0),shiny (≥ 1.9.0), utils |
| Suggests: | base64enc,covr,knitr,magrittr,rmarkdown,shinytest2,spelling,testthat (≥ 2.1.0),webshot,withr |
| Published: | 2025-12-14 |
| DOI: | 10.32614/CRAN.package.sortable |
| Author: | Andrie de Vries [cre, aut], Barret Schloerke [aut], Kenton Russell [aut, ccp] (Original author), Posit [cph, fnd], Lebedev Konstantin [cph] ('SortableJS', https://sortablejs.github.io/Sortable/) |
| Maintainer: | Andrie de Vries <apdevries at gmail.com> |
| BugReports: | https://github.com/rstudio/sortable/issues |
| License: | MIT + fileLICENSE |
| URL: | https://rstudio.github.io/sortable/ |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | NEWS |
| CRAN checks: | sortable results |
| Package source: | sortable_0.6.0.tar.gz |
| Windows binaries: | r-devel:sortable_0.6.0.zip, r-release:sortable_0.5.0.zip, r-oldrel:sortable_0.6.0.zip |
| macOS binaries: | r-release (arm64):sortable_0.6.0.tgz, r-oldrel (arm64):sortable_0.6.0.tgz, r-release (x86_64):sortable_0.6.0.tgz, r-oldrel (x86_64):sortable_0.6.0.tgz |
| Old sources: | sortable archive |
Please use the canonical formhttps://CRAN.R-project.org/package=sortableto link to this page.