character vectors collapsed to a space-delimited character string
logicals are converted to "true"
or "false"
lubridate durations are converted to numeric (milliseconds)
lists are converted to JSON,
Limitation: lubridate::duration()
objects within lists
will not translate correctly
bs_attr(x)
bs_attr.default(x)
bs_attr.logical(x)
bs_attr.list(x)
bs_attr.Duration(x)
bs_attr(x)
# S4 method for class 'logical'
bs_attr(x)
# S4 method for class 'list'
bs_attr(x)
# S4 method for class 'Duration'
bs_attr(x)
character