diff --git a/R/sitrep.R b/R/sitrep.R index a9fb6fed5..3d08b8fa6 100644 --- a/R/sitrep.R +++ b/R/sitrep.R @@ -18,7 +18,7 @@ pkgdown_sitrep <- function(pkg = ".") { if (is.null(pkg$meta[["url"]])) { msg_fld <- pkgdown_field(pkg, "url", cfg = TRUE, fmt = TRUE) - warns <- c(warns, x = paste0(msg_fld, " is absent. See {.vignette pkgdown::metatdata}.")) + warns <- c(warns, x = paste0(msg_fld, " is absent. See {.vignette pkgdown::metadata}.")) } desc_urls <- pkg$desc$get_urls() diff --git a/tests/testthat/_snaps/sitrep.md b/tests/testthat/_snaps/sitrep.md index 9db0b1198..81e20593a 100644 --- a/tests/testthat/_snaps/sitrep.md +++ b/tests/testthat/_snaps/sitrep.md @@ -5,7 +5,7 @@ Condition Warning: pkgdown situation report: configuration error - x url in _pkgdown.yml is misconfigured. See `vignette(pkgdown::metatdata)`. + x url in _pkgdown.yml is absent. See `vignette(pkgdown::metadata)`. x 'DESCRIPTION' URL is empty. ---