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.
prepare_for_bioc_runit(pkg_name, pkg_source_path, detach_bioc_infra)Character. Package name.
Character. Path to package source.
Logical. If TRUE (default for BioC packages), detach IRanges, S4Vectors, BiocGenerics. Set to FALSE for RUnit-only packages.