Skip to content

Commit

Permalink
More pointed pkgdown advice
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Aug 16, 2019
1 parent 215d63f commit bcef417
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/release.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ release_checklist <- function(version) {
cran_results <- cran_results_url()
has_src <- dir_exists(proj_path("src"))
has_news <- file_exists(proj_path("NEWS.md"))
has_pkgdown <- file_exists(proj_path("_pkgdown.yml"))

todo <- function(x, cond = TRUE) {
x <- glue(x, .envir = parent.frame())
Expand All @@ -62,7 +63,7 @@ release_checklist <- function(version) {
todo("`revdepcheck::revdep_check(num_workers = 4)`", on_cran),
todo("Update `cran-comments.md`"),
todo("[Polish NEWS](https://style.tidyverse.org/news.html#news-release)", on_cran),
todo("Polish pkgdown reference index", type != "patch"),
todo("Review pkgdown reference index for, e.g., missing topics", has_pkgdown),
todo("Draft blog post", type != "patch"),
"",
"Submit to CRAN:",
Expand Down

0 comments on commit bcef417

Please sign in to comment.