submit: Release a Package to CRAN

View source: R/submit.R

submitR Documentation

Release a Package to CRAN

Description

This is a stripped version of devtools' release function, omitting most of the interactive checks.

Usage

submit(
  path = ".",
  stop_on_git = TRUE,
  stop_on_devel = TRUE,
  force = FALSE,
  verbose = TRUE,
  consider_untracked = TRUE
)

release(
  path = ".",
  stop_on_git = TRUE,
  stop_on_devel = TRUE,
  force = FALSE,
  verbose = TRUE,
  consider_untracked = TRUE
)

Arguments

path

The package's root directory.

stop_on_git

Stop if git has uncommitted changes or is not synced with the origin?

stop_on_devel

Stop if the package has a development version? (That is, a four part version.)

force

Skip user interaction?

verbose

Be verbose?

consider_untracked

Consider untracked files if consider_untracked is TRUE?

Value

Invisibly NULL

Note

release is just a link to submit as release is the original function from devtools.


packager documentation built on Aug. 16, 2023, 5:08 p.m.