Checks if the pre-compiled models for the artemis package exist.
compiled_models_ok(
model_names = c("eDNA_lm", "eDNA_lmer", "eDNA_sim_omni"),
cache_dir = getOption("artemis_cache_dir", R_user_dir("artemis", "cache")),
issue_error = FALSE
)
Arguments
- model_names
Character string of the base-names of the
compiled models. On Windows platforms, the extension "exe" is
added
- cache_dir
directory where the compiled models should be
found.
- issue_error
logical, if TRUE an error will be raised if the
models are not all found in the specified cache_dir
Value
logical, TRUE if the compiled models were found and FALSE
otherwise
Examples
{
compiled_models_ok()
}
#> [1] TRUE