R/check-pkgdown.R

# This check is currently active, but can be modified and switched on to check
# pkgdown-related aspects of package documentation.
output_pkgchk_pkgdown <- function (checks) {

    # Grouped concepts must mean at least 2, so check is > 1:
    out <- list (
        check_pass = length (checks$info$pkgdown_concepts) > 1L,
        summary = "",
        print = ""
    )

    if (!out$check_pass) {
        # out$summary <- paste0 (
        #    "Function documentation entries are not grouped by concept"
        # )
    }

    return (out)
}
ropensci-review-tools/pkgcheck documentation built on Nov. 24, 2024, 7:57 p.m.