buildRstoxPackage: Function for building Rstox packages

View source: R/build.R

buildRstoxPackageR Documentation

Function for building Rstox packages

Description

buildRstoxPackage is used in the continous development of Rstox, writing .onLoad, .onAttach, pkgname, DESCRIPTION and README files and adding dependencies to the NAMEPACE file.

packageSpecs gets all specifications of the package from separate funcitons for each package into a list.

Usage

buildRstoxPackage(
  packageName,
  accountName = "StoXProject",
  version = "current",
  Rversion = "3.5",
  imports = NULL,
  suggests = NULL,
  linkingto = NULL,
  importToNamespace = NULL,
  internal.dependencies = NULL,
  internal.suggests = NULL,
  additional_repositories = NULL,
  onCran = FALSE,
  license = "LGPL-3",
  rootDir = NULL,
  title = NULL,
  description = NULL,
  details = NULL,
  .onLoad = NULL,
  .onUnload = NULL,
  .onAttach = NULL,
  misc = NULL,
  authors = NULL,
  check = FALSE,
  noRcpp = FALSE,
  addManual = FALSE,
  addIndividualManuals = FALSE,
  globalVariables = NULL,
  type = c("patch", "minor", "major"),
  prerelease = FALSE,
  date = NULL,
  avoid_compileAttributes_error = FALSE,
  VignetteBuilder = NULL,
  debugNAMESPACE = FALSE
)

packageSpecs(
  packageName,
  accountName = "StoXProject",
  version = "current",
  Rversion = "3.5",
  imports = NULL,
  suggests = NULL,
  linkingto = NULL,
  importToNamespace = importToNamespace,
  internal.dependencies = NULL,
  internal.suggests = NULL,
  additional_repositories = NULL,
  onCran = FALSE,
  license = "LGPL-3",
  rootDir = NULL,
  title = NULL,
  description = NULL,
  details = NULL,
  authors = NULL,
  .onLoad = NULL,
  .onUnload = NULL,
  .onAttach = NULL,
  misc = NULL,
  type = c("patch", "minor", "major"),
  prerelease = FALSE,
  date = NULL,
  avoid_compileAttributes_error = FALSE,
  VignetteBuilder = NULL
)

Arguments

check

Logical: If TRUE run devtools::check() on the package.StratumArea

dir

The directory holding the package structure.


imr-stox/RstoxBuild documentation built on June 12, 2025, 9:59 a.m.