Hello,
When using restatis::gen_cube() to download data from the Regio database, I get the following lifecycle warning:
Warning message:
The `file` argument of `vroom()` must use `I()` for literal data as of vroom 1.5.0.
Example:
library(restatis)
gen_cube(
name = "82000KJ008",
database = "regio",
credential_list = list(
regio = c(
username = Sys.getenv("REGIO_UID"),
password = Sys.getenv("REGIO_PWD")
)
)
)
Output:
- The data downloads and loads correctly into a tibble, but the warning is shown once per session.
Package versions:
packageVersion("restatis") # 0.4.0
packageVersion("readr") # 2.1.6
System info:
- R version: 4.4.3
- RStudio Server in a Docker container on Debian
It seems that gen_cube() (via read_cube() -> read_lines() -> vroom_lines()) is passing literal CSV data to vroom() without I(), which triggers the deprecation warning in vroom >= 1.5.0.
The data still loads correctly, so this is not critical, but updating the internal call to wrap literal CSV strings with I() would suppress the warning and future-proof the package.
Thanks!
Hello,
When using
restatis::gen_cube()to download data from the Regio database, I get the following lifecycle warning:Example:
Output:
Package versions:
packageVersion("restatis") # 0.4.0
packageVersion("readr") # 2.1.6
System info:
It seems that
gen_cube()(viaread_cube()->read_lines()->vroom_lines()) is passing literal CSV data tovroom()withoutI(), which triggers the deprecation warning in vroom >= 1.5.0.The data still loads correctly, so this is not critical, but updating the internal call to wrap literal CSV strings with
I()would suppress the warning and future-proof the package.Thanks!