posit-dev / r-shinylive

https://posit-dev.github.io/r-shinylive/
Other
147 stars 15 forks source link

Can't read RDS files #65

Closed tamas-ferenci closed 3 months ago

tamas-ferenci commented 4 months ago

Not only that I can't read RDS files: simply including an RDS file in the app directory of an otherwise working app (even if the code is untouched, i.e., it doesn't even try to read the file!) will result in an "Robj construction for this JS object is not yet supported" error.

Minimal reproducible example:

system.file("examples", "01_hello", package="shiny") |>
  fs::dir_copy("myapp2", overwrite = TRUE)

saveRDS(data.frame(x = 1:10), "./myapp2/temp.rds")

shinylive::export("myapp2", "site2")

httpuv::runStaticServer("site2/")