Closed statnmap closed 1 year ago
devtools::test() devtools::run_examples()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"))
the_tags <- checkhelper::find_missing_tags() # noRd, export, NULL (pkg_doc) + alias (att_to_description ok) View(the_tags)
all_files_remaining <- checkhelper::check_clean_userspace() # Ce qui reste c'est dans tmpdir(), et donc plutôt OK all_files_remaining
spelling::spell_check_package() # juste regarder s'il y a des typos
urlchecker::url_check() urlchecker::url_update() # corrige les redirections (a voir si le badge du readme est redirigé)
checkhelper::check_as_cran()
buildpath <- devtools::build() rhub::platforms() rhub::check_on_windows(check_args = "--force-multiarch", show_status = FALSE, path = buildpath) rhub::check_on_solaris(show_status = FALSE, path = buildpath) rhub::check(platform = "debian-clang-devel", show_status = FALSE, path = buildpath) rhub::check(platform = "debian-gcc-devel", show_status = FALSE, path = buildpath) rhub::check(platform = "fedora-clang-devel", show_status = FALSE, path = buildpath) rhub::check(platform = "macos-highsierra-release-cran", show_status = FALSE, path = buildpath) rhub::check_for_cran(show_status = FALSE, path = buildpath)
devtools::check_win_devel() devtools::check_win_release()
devtools::check_mac_release() # Need to follow the URL proposed to see the results
install.packages('revdepcheck', repos = 'https://r-lib.r-universe.dev') usethis::use_git_ignore("revdep/") usethis::use_build_ignore("revdep/")
devtools::revdep() library(revdepcheck)
id <- rstudioapi::terminalExecute("Rscript -e 'revdepcheck::revdep_check(num_workers = 4)'") rstudioapi::terminalKill(id)
revdep_details(revdep = "pkg") revdep_summary() # table of results by package revdep_report() # in revdep/
revdep_reset()
usethis::use_cran_comments(open = rlang::is_interactive())
\dontrun{}
devtools::release()
C'est en ligne: https://cran.r-project.org/web/packages/attachment/index.html
=> Soumis le 31 mai 2023. En attente des commentaires.
Tech