devtools icon indicating copy to clipboard operation
devtools copied to clipboard

`check()` now checks pkgdown

Open olivroy opened this issue 4 months ago • 0 comments

fix #2449

If the pkgdown config is not okay, then it errors, should it just warn?

If we decide to keep on going, we could use

tryCatch(
  pkgdown::check_pkgdown(),
  error = function(cnd) {
    warning(conditionMessage(cnd), call. = FALSE)
  }
)

Maybe this should be pkgdown_sitrep() after pkgdown 2.1 to avoid tryCatch.

Perhaps this should happen as part of document in the build pane. If roxygenize emited some type of output about what it did r-lib/roxygen2# would help that

olivroy avatar Feb 20 '24 13:02 olivroy