Initialise a temporary coverage environment (framework-aware)
initialise_covr_env(pkg_source_path, pkg, framework = "none", work_dir = NULL)environment cov_env with $work_dir and $pkg_root set.
Character; package root.
Character; package name.
Character; e.g. "testthat", "testit", "bioc", "none".
Optional explicit temp workspace; if NULL it is composed from inputs.