Navigate to a URL associated with a job
job_openurl(site, jobname = NULL)
site | label denoting the site (e.g., "github") |
---|---|
jobname | name of the job |
The job_openurl()
function opens a URL associated with a
job in a browser window. The site
argument is the site nickname
(e.g. "github", "homepage", etc) and the jobname
argument specifies
the job to use.
If no argument is specified job_openurl()
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.