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-testthat)
check_covr_skip_testitRun testit Tests Individually and Capture Issues
check_elements_simpleCheck Which Elements Exist in a List
check_pkg_tests_and_snapsCheck for Testing Infrastructure and Snapshot Files
cleanup_and_return_nullClean up cov environment and return NULL
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_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_results_summaryCreate a Summary of Coverage Results
create_test_reporterCreate Test Reporter
create_test_skip_detailsGenerate Test Skip Details
detach_pkg_if_attachedDetach a package if attached (internal)
extract_short_pathExtract the Last Two Path Components from a File Path
find_project_rootFind R project root directory
fix_test_contextEnsure Test Results Have Valid Context Labels
generate_coverage_sectionGenerate Coverage Section
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_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_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
load_dependencies_into_envLoad and Install Package Dependencies from a DESCRIPTION File
load_package_datasetsLoad Datasets from a Package
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...
prepare_for_bioc_runitPrepare a BioC/RUnit package for testing
remove_new_globalsRemove New Globals from Environment Based on Initial Snapshot
remove_run_unitTests_mappingRemove mapping rows that point to run_unitTests.R
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_nstfRun Coverage Analysis on Package Source and Non‑Standard...
run_covr_skip_stfRun Coverage with Skipped Failing Tests (Standard Testing...
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_envSetup coverage environment using an existing cov_env...
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 March 3, 2026, 1:06 a.m.