info_scripts: List information about scripts

View source: R/import-code.R

info_scriptsR Documentation

List information about scripts

Description

List information about scripts

Usage

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).

Value

A tibble with extracted information from files.


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