syberia_root: Determine the root path of the current Syberia project.

Description Usage Arguments Value

View source: R/traversal.r

Description

The root of the Syberia project is considered to be the directory containing the syberia.config file.

Usage

1
syberia_root(filename = NULL, error = FALSE)

Arguments

filename

character. If specified, it will attempt to find the Syberia root relative to the file name by traversing up its parent directories. If not given, Syberia will try to intelligently discern the current Syberia project by first looking at the cache for the previously used Syberia project and then by looking at the current directory. If no project is found, the last resort is to look for a syberia.root option. If not found, this will return NULL.

error

logical. If TRUE, it will return an error if the path is not found.

Value

see the filename parameter


robertzk/syberiaStructure documentation built on May 27, 2019, 11:38 a.m.