check_pkgdown {pkgdown} | R Documentation |
Check _pkgdown.yml
Description
This pair of functions checks that your _pkgdown.yml
is valid without
building the whole site. check_pkgdown()
errors at the first problem;
pkgdown_sitrep()
reports the status of all checks.
Currently they check that:
There's a
url
in the pkgdown configuration, which is also recorded in theURL
field of theDESCRIPTION
.All opengraph metadata is valid.
All reference topics are included in the index.
All articles/vignettes are included in the index.
Usage
check_pkgdown(pkg = ".")
pkgdown_sitrep(pkg = ".")
Arguments
pkg |
Path to package. |
[Package pkgdown version 2.1.0 Index]