Remove artefacts from file path
Examples
if (FALSE) { # \dontrun{
cleaned_file_path <- get_function_path(
file_location = "tests/testthat/example_project/R/calculate_QALYs.R#L41"
)
cleaned_file_path <- get_function_path(
file_location = c(
"tests/testthat/example_project/R/calculate_QALYs.R#L41",
"tests/testthat/example_project/R/calculate_QALYs.R#L49"
)
)
} # }