Skip to content

Commit

Permalink
add urlchecker
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Dec 8, 2023
1 parent 96a476a commit b7fbe2f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions r/bootstrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ if (!is_dev) {
cli::cli_alert_info("Removing badges from Readme.md")
system2("sed", c("-i", "'/^<!--- badges: start -->$/,/^<!--- badges: stop -->$/d'", "README.md"))

cli::cli_alert_info("Running urlchecker")
url_res <- urlchecker::url_check()
if (nrow(url_res) > 0) {
print(url_res)
cli::cli_abort("Broken URLs found, can't proceed.")
}

VERSION <- get_checksum_version()
if (!is.na(VERSION)) {
cli::cli_alert_info("Updating checksums for libarrow version: {VERSION}")
Expand Down

0 comments on commit b7fbe2f

Please sign in to comment.