Learn R Programming

test.assessr (version 1.1.1)

get_source_test_mapping_Bioc_nstf: Map Bioconductor source files to test files, avoiding false positives. Tightens filename and content-based matching; handles short names like "t".

Description

Map Bioconductor source files to test files, avoiding false positives. Tightens filename and content-based matching; handles short names like "t".

Usage

get_source_test_mapping_Bioc_nstf(pkg_source_path, test_dir)

Value

data.frame with columns: source_file, test_file, evidence, has_tests

Arguments

pkg_source_path

Character; path to the package root (expects R/ under it).

test_dir

Character; path to tests directory (e.g., file.path(pkg, "tests"))