Package: sortable 0.5.0.9000

Andrie de Vries

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

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.

Authors:Andrie de Vries [cre, aut], Barret Schloerke [aut], Kenton Russell [aut, ccp], RStudio [cph, fnd], Lebedev Konstantin [cph]

sortable_0.5.0.9000.tar.gz
sortable_0.5.0.9000.zip(r-4.5)sortable_0.5.0.9000.zip(r-4.4)sortable_0.5.0.9000.zip(r-4.3)
sortable_0.5.0.9000.tgz(r-4.4-any)sortable_0.5.0.9000.tgz(r-4.3-any)
sortable_0.5.0.9000.tar.gz(r-4.5-noble)sortable_0.5.0.9000.tar.gz(r-4.4-noble)
sortable_0.5.0.9000.tgz(r-4.4-emscripten)sortable_0.5.0.9000.tgz(r-4.3-emscripten)
sortable.pdf |sortable.html
sortable/json (API)
NEWS

# Install 'sortable' in R:
install.packages('sortable', repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rstudio/sortable/issues

Pkgdown site:https://rstudio.github.io

On CRAN:

htmlwidget

11.43 score 134 stars 11 packages 396 scripts 2.2k downloads 14 exports 45 dependencies

Last updated 4 months agofrom:2b938859b4. Checks:1 OK, 6 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 10 2025
R-4.5-winNOTEJan 10 2025
R-4.5-linuxNOTEJan 10 2025
R-4.4-winNOTEJan 10 2025
R-4.4-macNOTEJan 10 2025
R-4.3-winNOTEJan 10 2025
R-4.3-macNOTEJan 10 2025

Exports:add_rank_listbucket_listchain_js_eventsis_sortable_optionsquestion_rankrank_listrender_sortablesortable_jssortable_js_capture_bucket_inputsortable_js_capture_inputsortable_optionssortable_outputupdate_bucket_listupdate_rank_list

Dependencies:assertthatbackportsbase64encbslibcachemcheckmateclicommonmarkcrayondigestevaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlearnrlifecyclemagrittrmarkdownmemoisemimepromisesR6rappdirsRcpprenvrlangrmarkdownrprojrootsassshinysourcetoolstinytexwithrxfunxtableyaml

Cloning and removing elements

Rendered fromcloning.Rmdusingknitr::rmarkdownon Jan 10 2025.

Last update: 2024-09-12
Started: 2020-08-22

Dynamically updating a rank_list element

Rendered fromupdating_rank_list.Rmdusingknitr::rmarkdownon Jan 10 2025.

Last update: 2024-09-12
Started: 2021-04-22

Novel solutions using sortable in shiny apps

Rendered fromnovel_solutions.Rmdusingknitr::rmarkdownon Jan 10 2025.

Last update: 2024-09-12
Started: 2019-07-03

Understanding the interface to sortable.js

Rendered fromunderstanding_sortable_js.Rmdusingknitr::rmarkdownon Jan 10 2025.

Last update: 2024-09-12
Started: 2019-06-25

Using custom styles with CSS

Rendered fromusing_custom_css.Rmdusingknitr::rmarkdownon Jan 10 2025.

Last update: 2024-09-12
Started: 2020-02-06

Using rank list and bucket lists in Shiny apps

Rendered frombuilt_in.Rmdusingknitr::rmarkdownon Jan 10 2025.

Last update: 2024-09-12
Started: 2020-08-24