I am trying to include a (somewhat) large dataset in an R package. I keep getting a warning during validation in Rstudio saying that I could save some space with compression:
* checking data for ASCII and uncompressed saves ... WARNING Note: significantly better compression could be obtained by using R CMD build --resave-data old_size new_size compress slp.rda 499Kb 310Kb bzip2 sst.rda 1.3Mb 977Kb xz
I tried adding -- resave-data to RStudio "Configure Buid Tools" without any consequences.

source share