publish: Publish the latest build of the project

Description Usage Arguments

View source: R/courseR.r

Description

Copies the lastest build of (optionally) the website and package to paths specified in in the 'publish' section of the 'courseR.yml' configuration file. The current user obviously needs write permissions for the specified path.

Usage

1
2
publish(path = getwd(), build = TRUE, www = buildSite(config),
  pkg = buildPackage(config))

Arguments

path

path to the project to publish

build

should the project be rebuilt before publishing

www

should the website be published

pkg

should the package be published


whitwort/courseR documentation built on Sept. 6, 2019, 1:14 a.m.