Stop when check_sitemap() found an error
Usage
assert_sitemap(d, quiet = FALSE, allow_dead = character())Arguments
- d
the tibble from
check_sitemap()- quiet
suppress the summary line
- allow_dead
a regex of
locs whoseurl_deadis known and accepted — one use only, and it is temporary: the calcofi.io dataset pages 404 until the landing repo generates them (plan Phase 1). Never widen it to hide a dead external record; that is the finding the sitemap exists to catch.