initialise_covr_env: Initialise a temporary coverage environment (framework-aware)

View source: R/run_covr_modes.R

initialise_covr_envR Documentation

Initialise a temporary coverage environment (framework-aware)

Description

Initialise a temporary coverage environment (framework-aware)

Usage

initialise_covr_env(pkg_source_path, pkg, framework = "none", work_dir = NULL)

Arguments

pkg_source_path

Character; package root.

pkg

Character; package name.

framework

Character; e.g. "testthat", "testit", "bioc", "none".

work_dir

Optional explicit temp workspace; if NULL it is composed from inputs.

Value

environment cov_env with $work_dir and $pkg_root set.


test.assessr documentation built on March 3, 2026, 1:06 a.m.