Man pages for test.assessr
Assessing Package Test Reliability and Quality

check_covr_skip_bioc_nstfCheck for skipped or errored test files (BiocGenerics)
check_covr_skip_nstfCheck for skipped or errored test files (non-testit)
check_covr_skip_runit_nstfCheck for skipped or errored test files (BiocGenerics)
check_covr_skip_testitRun testit tests individually, capturing all warnings and...
check_elements_simpleCheck Which Elements Exist in a List
check_pkg_tests_and_snapsCheck for tests/testthat and _snaps folder and count golden...
cleanup_and_return_nullClean up cov environment and return NULL
compute_multi_framework_totalCompute aggregate total coverage across multiple frameworks
compute_test_files_clean_dtCompute wrapper data.table test files to run for coverage...
compute_total_coverageCompute approximate total coverage combining line coverage...
convert_number_to_abbreviationConvert number to abbreviation
convert_number_to_percentConvert number to percent
convert_vectors_to_dfThis internal function takes named character vectors (e.g.,...
cov_envPackage-Private Coverage Environment
create_base_tests_coverageCreate coverage by running base-style tests under covr...
create_coverage_skip_stfRun Coverage While Skipping Failing Tests
create_covr_list_no_skipcreate covr_list when no tests are skipped
create_empty_covr_listCreate an empty covr list for fallback
create_fail_reporterCreate Fail Reporter
create_file_coverage_dfGenerate file coverage df
create_long_summary_detailsGenerate Long Summary Details
create_nstf_covr_listCreate the NSTF Coverage List
create_results_summaryCreate a Summary of Coverage Results
create_test_reporterCreate Test Reporter
create_test_skip_detailsGenerate Test Skip Details
create_tinytest_coverageCreate coverage from tinytest under covr instrumentation...
detach_pkg_if_attachedDetach a package if attached (internal)
detect_frameworksDetect which test frameworks are present in a package
dt_compute_untested_functionsCompute untested functions from coverage using srcref spans...
dt_find_wrapper_testsLocate data.table wrapper test scripts (internal)
extract_short_pathHelper to extract "R/<file>" from any path by taking the last...
find_project_rootFind R project root directory
fix_test_contextFix Missing Test Contexts
generate_coverage_sectionGenerate Coverage Section (single framework)
generate_coverage_sectionsGenerate Coverage Sections (multi-framework)
generate_test_detailsGenerate Test Details
generate_test_pkg_summaryGenerate Test Summary
generate_test_reportGenerate HTML Report for Package Test Assessment
get_biocgenerics_test_pathsLocate active test paths for Bioconductor RUnit layout
get_expectExtract Expectation Calls from Parsed Testthat Code
get_function_no_testsget functions with no tests
get_nstf_test_pathCollect all applicable nonstandard test paths for a package...
get_package_coverageget package test coverage
get_pkg_descRead Description file and parse the package name and version
get_pkg_nameget package name for display
get_runit_test_pathsLocate active test paths for Bioconductor RUnit layout
get_source_test_mapping_bioc_nstfMap Bioconductor source files to test files, avoiding false...
get_source_test_mapping_nstfMap R Source Files to Corresponding Test Files
get_stf_test_pathDetermine the appropriate standard test path for a package
get_test_framework_typeGet human-readable test framework type label
get_test_metadataGet test metadata
get_tests_long_sum_stfSummarize detailed testthat results
get_tests_skip_stfSafely generate skip test mapping from problem tests and test...
handle_nullHelper function to replace NULL with "N/A"
initialise_covr_envInitialise a temporary coverage environment (framework-aware)
install_package_localInstall a Package from a Local Source Directory
is_bioc_runit_layoutDetect if a package uses the Bioconductor RUnit layout
is_runit_layoutDetect if a package uses RUnit layout (BioC or RUnit-only)
load_base_r_packages_into_envLoad Base R packages into an isolated coverage environment
load_dependencies_into_envLoad and Install Package Dependencies from a DESCRIPTION File
load_package_datasetsLoad Datasets from a Package
load_package_exports_into_envLoad exported objects from installed packages into an...
load_package_into_envLoad package objects into a coverage environment
load_test_helpersLoad Testthat Helper Files into Environment
map_testMap the Structure of Expectations in a Testthat File
map_tests_stfMap the Structure of Testthat Tests (Standard Testing...
nest_expectExtract and Structure Expectations from Parsed Test Blocks
nest_testGroup Parsed Testthat Code into Logical Test Blocks...
normalize_test_resultsNormalize test results for single or multi-framework...
prepare_for_bioc_runitPrepare a BioC/RUnit package for testing Detaches common BioC...
prepare_tests_for_package_dtPrepare package-specific test environment for data.table...
remove_new_globalsRemove New Globals from Environment Based on Initial Snapshot
remove_run_unitTests_mappingRemove mapping rows that point to run_unitTests.R
restrict_test_paths_to_frameworkRestrict a list of test paths to a single framework
run_coverageRun Coverage and Return Structured Coverage Results
run_covrRun covr in a Subprocess with a Timeout
run_covr_modesRun Coverage Analysis with Test Detection
run_covr_skip_bioc_nstfRun coverage with skip detection for Bioconductor RUnit-based...
run_covr_skip_dt_nstfRun Coverage Analysis on data.table Package Source and Tests
run_covr_skip_nstfRun Coverage Analysis on Package Source and Non‑Standard...
run_covr_skip_runit_nstfRun coverage with skip detection for RUnit and Bioconductor...
run_covr_skip_stfRun Coverage with Skipped Failing Tests (Standard Testing...
run_one_frameworkRun coverage for a single test framework
safe_left_joinSafely perform a left join with error handling
safe_unload_packageSafely unload a package to avoid coverage conflicts
safe_valueHelper to conditionally apply handle_null or abbreviation
setup_covr_envSet up a coverage environment for isolated test execution
set_up_pkgCreate Information on Local Package Installation
unpack_tarballUntar package and return installation directory
unrownameAdd Identifier Column and Remove Row Names from a Data Frame
test.assessr documentation built on April 30, 2026, 5:06 p.m.