Debian Codegraph @

man/submit_cran.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/cran.R
3 \name{submit_cran}
4 \alias{submit_cran}
5 \title{Submit a source package to CRAN}
6 \usage{
7 submit_cran(file = pkg_build(), comment = "", sync = TRUE)
8 }
9 \arguments{
10 \item{file}{The path to the source package tarball. By default, the current
11 working directory is treated as the package root directory, and
12 automatically built into a tarball, which is deleted after submission. This
13 means you should run \code{xfun::submit_cran()} in the root directory of a
14 package project, unless you want to pass a path explicitly to the \code{file}
15 argument.}
16
17 \item{comment}{Submission comments for CRAN. By default, if a file
18 \file{cran-comments.md} exists, its content will be read and used as the
19 comment.}
20
21 \item{sync}{Whether to sync the current Git branch with the remote repository
22 before submission.}
23 }
24 \description{
25 Build a source package and submit it to CRAN with the \pkg{curl} package.
26 }
27 \seealso{
28 \code{devtools::submit_cran()} does the same job, with a few more
29 dependencies in addition to \pkg{curl} (such as \pkg{cli});
30 \code{xfun::submit_cran()} only depends on \pkg{curl}.
31 }