rstudio / sortable

R htmlwidget for Sortable.js
https://rstudio.github.io/sortable/
Other
127 stars 30 forks source link

A bucket list without a header throws a "writeImpl(text)" error #69

Closed andrie closed 3 years ago

andrie commented 3 years ago

This code:

bucket_list(
  # header = "This is a bucket list. You can drag items between the lists.",
  add_rank_list(
    text = "Drag from here",
    labels = c("a", "bb", "ccc")
  ),
  add_rank_list(
    text = "to here",
    labels = NULL
  )
)

throws an error:

 Error in writeImpl(text) : 
  Text to be written must be a length-one character vector