You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the DESCRIPTION contains LazyData: true, then datasets will be lazily loaded. This means that they won’t occupy any memory until you use them. The following example shows memory usage before and after loading the nycflights13 package. You can see that memory usage doesn’t change significantly until you inspect the flights dataset stored inside the package.
We recommend that you include LazyData: true in your DESCRIPTION if you are shipping .rda files below data/.
I think the package loading was taking forever previously because I hadn't compressed the data... now that we have written the data with usethis::use_data(compress = "gzip") package load time might be ok. See also #90, #91.
The text was updated successfully, but these errors were encountered:
consider using butcher:: to reduce package data size (i.e. of models), see https://butcher.tidymodels.org/index.html also consider reducing duplicate storage of models across multiple objects (i.e. ManyEcoEvo_*viz and ManyEcoEvo_results).
From https://r-pkgs.org/data.html
I think the package loading was taking forever previously because I hadn't compressed the data... now that we have written the data with
usethis::use_data(compress = "gzip")
package load time might be ok. See also #90, #91.The text was updated successfully, but these errors were encountered: