Build a source package and submit it to CRAN with the curl package.
Arguments
- file
The path to the source package tarball. By default, the current working directory is treated as the package root directory, and automatically built into a tarball, which is deleted after submission. This means you should run
xfun::submit_cran()in the root directory of a package project, unless you want to pass a path explicitly to thefileargument.- comment
Submission comments for CRAN. By default, if a file
cran-comments.mdexists, its content will be read and used as the comment.- sync
Whether to sync the current Git branch with the remote repository before submission.