Refresh the local TimeFish snapshot without reinstalling the package
timefish_refresh_snapshot.RdCopy the approved TimeFish CSV files from a source checkout into the user cache used by the installed package. After refreshing the cache, the data access helpers read the updated snapshot automatically, so users do not need to reinstall the package.
Usage
timefish_refresh_snapshot(source_dir = NULL, tables = timefish_tables(), overwrite = TRUE)Arguments
- source_dir
Path to a local TimeFish repository checkout or to a directory that contains the three CSV files. The function looks in
source_dir/inst/extdata/first and then directly insource_dir/.- tables
Character vector with the tables to refresh. Defaults to all bundled tables.
- overwrite
Whether to overwrite existing cached files.