reload.project: Reload or reset a project

Description Usage Arguments Value Examples

View source: R/reload.project.R

Description

This function will clear the global environment and reload a project. This is useful when you've updated your data sets or changed your preprocessing scripts. Any sticky_variables configuration parameter in project.config will remain both in memory and (if present) in the cache by default. If the reset parameter is TRUE, then all variables are cleared from both the global environment and the cache.

Usage

1

Arguments

...

Optional parameters passed to load.project

reset

A boolean value, which if set TRUE clears the cache and everything in the global environment, including any sticky_variables

Value

No value is returned; this function is called for its side effects.

Examples

1
2
3
4
5
6
library('ProjectTemplate2')

## Not run: load.project()

reload.project()
## End(Not run)

connectedblue/ProjectTemplate2 documentation built on May 17, 2019, 2:46 p.m.