sortable
0.6.0Drag-and-Drop in 'shiny' Apps with 'SortableJS'
Overview
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
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 57%
- References docs
- 7%
Downloads
Repository
Repository practices
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.
Show all practices
Dependencies
Code & Tests
- 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
Call graph
Open call graph →Lowest coverage
45 functions| Function | Cyclo | Coverage |
|---|---|---|
| update_bucket_list exp | 1 | 0% |
| update_rank_list exp | 3 | 0% |
| dropNulls | 1 | 0% |
| incrementor | 1 | 0% |
| print.bucket_list | 1 | 0% |
| print.rank_list | 1 | 0% |
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.6.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.5.02023-03-26 · diff ↗
- 0.4.62022-08-14 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.4.52021-12-13 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.4.42020-09-17 · diff ↗
- 0.4.32020-08-26 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.4.22019-12-01
- RR 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