Learn R Programming

cwhmisc (version 4.0)

RCA: Check, build, install package.

Description

RC: Use with type = ("c"), "b", "c", "a", "i", in that order. RCA: Execute RC with any of 0:5, typically 2:5. Check for errors and repeat. Package treated is located in directory paste(dir,"/",pkg,sep="")

Usage

RC(dir,pkg,type="c")
  RCA(dir,pkg,trig=c(0,2:5))

Arguments

dir
character, path of (collection of) package(s)
pkg
character, name of package
type
"a", "b", "c","i" for 'check --as-cran', 'build', 'check','install'
trig
integer, any subset of 1:5 corresponding to "c", "b", "c", "a", "i" in RC, 0 for an explanatory text concerning "c"

Examples

Run this code
RC("/User/.../R/sources","pack","c")  # treating "/User/.../R/sources/pack"
  RCA("...", 2:4) # corresponding to RC(...,"b"); RC(...,"c"); RC(...,"i")

Run the code above in your browser using DataLab