source_wd: Configure the working directory

Description Usage Arguments

View source: R/source_wd.R

Description

Ensure the project root is set up correctly and create a global variable wd to represent the project root as working directory.

Usage

1
source_wd(this_file)

Arguments

this_file

The name of the script calling the function. This uses here::i_am to set the project root correctly.


brendan-newlon/sourceR documentation built on Jan. 28, 2022, 10:14 a.m.