PublishPackage: Publish a package to remote repository

Description Usage Arguments

Description

Creates a tagged commit suitable for the Statistical Working System. The documentation is checked, followed by a check that there are no uncommitted files which could end up the the commit. The commit is then made and tagged.

Usage

1
2
3
4
PublishPackage(version, message = sprintf("Release version %s", version),
  packpath = ".", destdir = packpath, date = Sys.Date(),
  document = TRUE, check = TRUE, ignorefile = file.path(packpath,
  ".Rbuildignore"))

Arguments

version

character. Valid R version. There's no need to prefix it with a 'v'

message

character. Message to go in tag label and

packpath

character. Package path relative to the project root

destdir

character. Destination directory for package By default, packpath

date

character or Date. Today's date to go in the Date field of the DESCRIPTION

document

logical, whether documentation should be run

check

logical whether RCMD check should be run

ignorefile

character. Location of .Rbuildignore file


SWS-Methodology/faoswsModules documentation built on May 9, 2019, 11:49 a.m.