runScript: Run an R script within a project using runScriptQuiet

Description Usage Arguments Details Value Examples

View source: R/run_Program.R

Description

Run an R script within a project using runScriptQuiet

Usage

1
2
3
4
5
runScript(
  r = getSourceInfo()$file$file,
  project.id = getProject(),
  logRmd = FALSE
)

Arguments

r

R script within that project (r is short R script for convenience)

project.id

project id

logRmd

logical indicating whether to create R markdown log

Details

Lists scripts if no current script is active or r script is "".

Value

value from clean_source from devtools package

Examples

1
2
3
4
## Not run: 
run.program("read_data.R","adaprHome")

## End(Not run) 

gelfondjal/adapr documentation built on Feb. 2, 2020, 1:32 a.m.