Description Usage Arguments Value Examples
This is a wrapper function for readRDS. You can use it exactly as you would readRDS. Internally it checks the data version control file and returns the stamp associated with the current version of the desired 'file'.
1 | readRDS_vc(file, ..., version_control = "DATA_VC", verbose = FALSE)
|
file |
a connection or the name of the file where the 'R' object is saved to or read from |
... |
other params for readRDS see |
version_control |
name of data version control file. Default is 'data_vc'. Should match name used in 'make_data_vc'. |
verbose |
logical, report returned current file version? Default is FALSE |
a string 'stamp'_'file'
1 2 3 | make_data_vc()
saveRDS_vc(cars, "my_cars.rds", verbose = TRUE)
readRDS_vc("my_cars.rds", verbose = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.