job_home: Path to the job home

Description Usage Arguments Details Value

View source: R/job_home.R

Description

Path to the job home

Usage

1
job_home(jobname = NULL)

Arguments

jobname

Name of job (defaults to current job)

Details

The job_home() function returns the file path for 'jobname'. This can be useful if you need to specify the location of files relative to a project.

If no argument is specified job_home() will attempt to guess the current job by looking at any open RStudio projects. If no project is open or the RStudio API is not available it attempts to guess by looking at the working directory.

Value

Path to the job folder as a character string


djnavarro/projectr documentation built on April 30, 2020, 6:49 a.m.