A low level function to interact with the code library. It is easier in most
cases to use the shiny "code library" RStudio 'Addin'.
ls_code_library(pattern = ".")
Arguments
- pattern
Optional character. Filter the code library use regex.
Value
Character vector of matched file paths.
Examples
ls_code_library("Models/ADVAN2.mod")
#> [1] "/Users/runner/work/_temp/Library/NMproject/extdata/CodeLibrary/Models/ADVAN2.mod"
## requires NMproject directory structure to operate in
if (FALSE) {
ls_code_library("Models/ADVAN2.mod") %>%
stage()
}