Fix output type of dataframe

This commit is contained in:
Tom Elliott 2025-01-29 08:33:05 +13:00
parent 2e4e00c5d6
commit 7e8f52d29c

View File

@ -354,7 +354,7 @@ ts_dataframe <- function(...) {
ts_object(
type,
sprintf("R.dataframe(%s)", type_fn),
sprintf("Robj.dataframe(%s)", type_fn),
check = function(x) {
if (!is.data.frame(x)) stop("Expected a data frame")
x