info_scripts: List information about scripts

Description Usage Arguments Examples

Description

List information about scripts

Usage

1
2
info_scripts(files, fields = c("Description"), viewer = TRUE,
  silent = FALSE, base_dirs = NULL, shorten_paths = TRUE)

Arguments

files

vector string of file names/paths

fields

vector string of field tags to display

viewer

logical indicating if Rstudio viewer should be used (default = TRUE)

silent

run in quiet mode (default=FALSE)

base_dirs

character vector. group files together that belong to these directory paths

shorten_paths

logical. Default = TRUE. Long paths will be shortened if true in displayed output (not returned object)

Examples

1
2
3
4
5
6
## Not run: 
ls_scripts('~/AZD6094/PK_liver4/') %>%
  info_scripts('Description') %>%
  filter(grepl('mod',DESCRIPTION))

## End(Not run)

Ollegst/MSDproject documentation built on May 23, 2019, 9:37 a.m.