importProject: Imports new project using adapr import file or by selecting...

Description Usage Arguments Details Value Examples

View source: R/importers.R

Description

Imports new project using adapr import file or by selecting any R script within the project

Usage

1
importProject(importer.file = NULL, Rscript = FALSE)

Arguments

importer.file

File created by adapr::makeImporter that is selected interactively OR any R script within program directory

Rscript

logical indicating whether importer.file parameter is a "adapr_importer.R" file OR any R script within program directory.

Details

This is a console command. The function adapr::makeImproter will create the "adapr_importer.R" file needed. Function will create an interactive file choosing window.

Value

Logical indicating success or not

Examples

1
2
3
4
## Not run: 
importProject() # Will open window for file selection.

## End(Not run) 

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