Skip to content

Commit

Permalink
Improve message if url is absent.
Browse files Browse the repository at this point in the history
part of #2380
  • Loading branch information
jayhesselberth committed Apr 11, 2024
1 parent 9071532 commit b642f2c
Showing 1 changed file with 1 addition and 1 deletion.
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 misconfigured. See {.vignette pkgdown::metatdata}."))
warns <- c(warns, x = paste0(msg_fld, " is absent. See {.vignette pkgdown::metatdata}."))
}

desc_urls <- pkg$desc$get_urls()
Expand Down

0 comments on commit b642f2c

Please sign in to comment.