Optionally removes the enw_cache_location
environment variable from
the user .Renviron file and/or removes it from the local
environment. If you unset the local cache and want to switch
back to using the persistent cache, you can reload the
.Renviron
file using readRenviron("~/.Renviron")
.
Usage
enw_unset_cache(type = c("session", "persistent", "all"))
Arguments
- type
A character string specifying the type of cache to unset. It can be one of "session", "persistent", or "all". Default is "session". "session" unsets the cache for the current session, "persistent" removes the cache location from the user’s
.Renviron
file,and "all" does all options.
See also
Functions used to help convert models into the format required for stan
enw_formula_as_data_list()
,
enw_get_cache()
,
enw_model()
,
enw_priors_as_data_list()
,
enw_replace_priors()
,
enw_sample()
,
enw_set_cache()
,
enw_stan_to_r()
,
remove_profiling()
,
write_stan_files_no_profile()