detach_pkg_if_attached: Detach a package if attached (internal)

View source: R/run_covr_skip_bioc_nstf.R

detach_pkg_if_attachedR Documentation

Detach a package if attached (internal)

Description

Safely detaches a package from the search path and optionally unloads its namespace.

Usage

detach_pkg_if_attached(pkg, unload_namespace = TRUE, quiet = TRUE)

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