Get path of child document
Source
This function is adapted from readxl::readxl_example()
.
Arguments
- path
filename of child document to get path of. If NULL, lists possibilities
- ...
other arguments to
list.files
Examples
gbhs_path_child()
#> [1] "bin_desc.Rmd" "bin_mod.Rmd" "ord_desc.Rmd" "ord_mod.Rmd"
gbhs_path_child("bin_desc.Rmd")
#> [1] "/home/runner/work/_temp/Library/gbhs/docs/child_docs/bin_desc.Rmd"
gbhs_path_child("ord_mod.Rmd")
#> [1] "/home/runner/work/_temp/Library/gbhs/docs/child_docs/ord_mod.Rmd"