Companion R package for MOSAIC website - need Rtools 3.3
and last R
version.
Use the issue tracker to report a problem.
cd
to source directoryR CMD build .
R CMD INSTALL --build .
R CMD check --as-cran morse_X.X.X.tar.gz
roxygen2::roxygenise(".")
R CMD Rd2pdf --output=documentation .
devtools::document(roclets=c('rd', 'collate', 'namespace', 'vignette'))
devtools::test()
devtools
, ROxygen2 v5.0.1 or higgher
Use devtools package...
enable Generate documentation...
ROxygen options…: all enable exept
Vignettesand
Source and binary package build`Document
or Ctrl + Shift + DMore : Build Source Package
R: remove.packages(“morse”, lib=“~/Documents/R/R-X.X.X/library”) R: install.packages(“~/Documents/morse_X.X.X.tar.gz”, repos = NULL, type = “source”) R: library(“morse”) R: ?morse
Build & Reload
Build > More > Test package
(Ctrl + Shift + T). Note that you must activate the option “Use devtools package functions if available” in Project Options > Build Tools
.Build & Reload or Build > More > Document
(Ctrl + Shift + D)Build > More > Configure Build Tools
, add --as-cran
in Check Package -- R CMD check additional
optionsBuild > Check
(Ctrl + Shift + E)