prepare_for_bioc_runit: Prepare a BioC/RUnit package for testing Detaches common BioC...

View source: R/run_covr_skip_runit_nstf.R

prepare_for_bioc_runitR Documentation

Prepare a BioC/RUnit package for testing Detaches common BioC infrastructure packages (if attached) and load_all() the target package before RUnit tests. Also clears R_TESTS to avoid interference from the check harness.

Description

Prepare a BioC/RUnit package for testing Detaches common BioC infrastructure packages (if attached) and load_all() the target package before RUnit tests. Also clears R_TESTS to avoid interference from the check harness.

Usage

prepare_for_bioc_runit(pkg_name, pkg_source_path, detach_bioc_infra)

Arguments

pkg_name

Character. Package name.

pkg_source_path

Character. Path to package source.

detach_bioc_infra

Logical. If TRUE (default for BioC packages), detach IRanges, S4Vectors, BiocGenerics. Set to FALSE for RUnit-only packages.


test.assessr documentation built on July 16, 2026, 5:07 p.m.