Skip to contents

Get path of utility functions

Usage

gbhs_path_utilities(path = NULL, ...)

Source

This function is adapted from readxl::readxl_example().

Arguments

path

filename of utility file to get path of. If NULL, lists possibilities

...

other arguments to list.files

Value

string of file path

Examples

gbhs_path_utilities()
#> [1] "data-utils.R"  "model-utils.R"
gbhs_path_utilities("data-utils.R")
#> [1] "/home/runner/work/_temp/Library/gbhs/utils/data-utils.R"
gbhs_path_utilities("model-utils.R")
#> [1] "/home/runner/work/_temp/Library/gbhs/utils/model-utils.R"