Initialize 'riskintrodata' Cache
init_riskintrodata_cache.Rd
Initialize the 'riskintrodata' cache directory. This function creates the cache directory if it does not exist.
If the force
argument is set to TRUE
, it will remove any existing
cache directory before creating a new one.
See also
Other riskintrodata cache management:
riskintrodata_cache_dir()
,
riskintrodata_cache_exists()
,
riskintrodata_dummy_setup()
,
rm_riskintrodata_cache()
Examples
riskintrodata_dummy_setup()
#> Warning: '/tmp/RtmpZD76sq/RISKINTRODATA_CACHE_DIR' already exists
#> Warning: cannot open file '/home/runner/Documents/skintrodata_dummy_setup.txt': No such file or directory
#> Error in file(con, "w"): cannot open the connection
init_riskintrodata_cache()
#> [1] "/tmp/RtmpZD76sq/RISKINTRODATA_CACHE_DIR"
if (FALSE) { # \dontrun{
init_riskintrodata_cache(force = TRUE)
} # }