View source: R/run_covr_skip_bioc_nstf.R
| get_biocgenerics_test_paths | R Documentation |
Returns a *list* of one or more existing test directories suitable for normalization and use in subsequent mapping (e.g., 'get_source_test_mapping_nstf'). Designed to work with:
get_biocgenerics_test_paths(test_pkg_data, testdir)
test_pkg_data |
list/env of test metadata; may include: - 'bioc_run_ut_path' (character): path to 'tests/run_unitTests.R' wrapper, if present |
testdir |
character: expected RUnit tests directory (typically "<pkg_root>/inst/unitTests") |
path <- as.character(pkg_source_path) testdir <- file.path(path, "inst/unitTests") test_path_list <- find_biocgenerics_test_paths(test_pkg_data, testdir) test_path <- normalizePath( unlist(test_path_list, use.names = TRUE), winslash = "/", mustWork = FALSE )
named list of **existing** directories (e.g., 'bioc_unitTests', 'tests_root'); if nothing is found, returns a single 'fallback' entry pointing to 'testdir'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.