startScript: Function to set working directory and load in packages at the...

Description Usage Arguments Value Examples

View source: R/startScript.R

Description

Function to set working directory and load in packages at the start of a script

Usage

1
startScript(wd = "~", packages = c("tidyverse", "devtools", "viridis"))

Arguments

wd

A character string giving the desired working directory

packages

A character vector of packages to be loaded/installed

Value

Nothing, just a

Examples

1
2
3
4
## Not run: 
startScript(wd = '~', packages = c('Bchron', 'simmr'))

## End(Not run)

andrewcparnell/auf documentation built on Oct. 25, 2019, 3:56 a.m.