various/cran_release.R

# render README
rmarkdown::render("../README.Rmd")

# spell checking
devtools::spell_check()

# build
devtools::build()

# check all important distribuations for CRAN release
rhub::validate_email("maldet@posteo.at")

chk <- rhub::check_for_cran(
  path = "../../labelmachine_1.0.0.tar.gz",
  env_vars = c(
    `_R_CHECK_FORCE_SUGGESTS_` = "true",
    `_R_CHECK_CRAN_INCOMING_USE_ASPELL_` = "true"
  )
)

chk$cran_summary()

sink("cran-comments.md")
chk$cran_summary()
sink(NULL)

chk_win <- devtools::check_win_release(pkg = ".")

# release
devtools::release()
a-maldet/labelmachine documentation built on Nov. 10, 2019, 6:18 p.m.