Skip to content

Commit

Permalink
Allow formerly broken mirror (ropensci#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdnbradford committed Oct 17, 2024
1 parent c946d59 commit abc0d54
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions R/gutenberg_mirrors.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ gutenberg_get_mirror <- function(verbose = TRUE) {

# parse and leave out the path
parsed <- urltools::url_parse(mirror_full_url)
if (parsed$domain == "www.gutenberg.lib.md.us") {
# Broken mirror. PG has been contacted. For now, replace:
parsed$domain <- "aleph.gutenberg.org" # nocov
}

mirror <- unclass(glue::glue_data(parsed, "{scheme}://{domain}"))
maybe_message(verbose, "Using mirror {mirror}.")

Expand Down

0 comments on commit abc0d54

Please sign in to comment.