set_project_dir: Attempt to set project directory within Rmd files

Description Usage Arguments Details Author(s)

View source: R/set_project_dir.R

Description

Used within Knitr (Rmd) files when knitting

Usage

1
set_project_dir(project_name)

Arguments

project_name

Directory name of the current project

Details

Used within Knitr (Rmd) files when the report file is not at the top level of the project. It changes the directory to be up one level while knitting the report so that it can find directories like ./data

## 2014-03-31 SJR Extracted this function from 00_Initialize.R ## 2014-05-05 GWL Adding function to geneorama package ##

## ## Usage: Call this function within Rmd files if they are located higher than ## the project root directory. This will navigate up one directory until ## it reaches either the root directory or "project_name" ##

Author(s)

Gene Leynes and Scott Rodgers


geneorama/geneorama documentation built on Oct. 17, 2020, 12:35 a.m.