[x] Roxygen examples in un-exported function my_fun should use pkg:::my_fun
[x] Wrap \dontrun{} in try() when showing error generation
[x] All functions, including those marked @keywords internal must have a @return description. Those that do not return anything must have e.g. \value{None}
[x] All functions must have @examples section, even those that are marked @keywords internal.
[x] Check DESCRIPTION title with tools::toTitleCase().
First release:
usethis::use_cran_comments()
Title:
andDescription:
@return
and@examples
Authors@R:
includes a copyright holder (role 'cph')my_fun
should usepkg:::my_fun
\dontrun{}
intry()
when showing error generation@keywords internal
must have a@return
description. Those that do not return anything must have e.g.\value{None}
@examples
section, even those that are marked@keywords internal
.DESCRIPTION
title withtools::toTitleCase()
.Prepare for release:
git pull
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
git push
Submit to CRAN:
usethis::use_version('minor')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)