Skip to content

Commit

Permalink
Update snapshot test & fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Apr 12, 2024
1 parent b642f2c commit b8381d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/sitrep.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/sitrep.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---
Expand Down

0 comments on commit b8381d4

Please sign in to comment.