ls_code_library: List files in code library

View source: R/import-code.R

ls_code_libraryR Documentation

List files in code library

Description

[Stable]

A low level function to interact with the code library. It is easier in most cases to use the shiny "code library" RStudio 'Addin'.

Usage

ls_code_library(pattern = ".")

Arguments

pattern

Optional character. Filter the code library use regex.

Value

Character vector of matched file paths.

See Also

code_library(), stage(), import()

Examples


ls_code_library("Models/ADVAN2.mod")

## requires NMproject directory structure to operate in
## Not run: 
ls_code_library("Models/ADVAN2.mod") %>%
  stage()

## End(Not run)


NMproject documentation built on Sept. 30, 2022, 1:06 a.m.