Skip to content

Commit

Permalink
fix: force availibility to return hard error if package name already …
Browse files Browse the repository at this point in the history
…taken
  • Loading branch information
js2264 committed Oct 5, 2023
1 parent aa16441 commit 178da43
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/BiocBook.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,6 @@ init <- function(
cli::cli_abort("Package name is not available. Please pick another name for this BiocBook.")
}
cli::cli_alert_success(cli::col_grey("Package name `{new_package}` is available"))
},
warning = function(e) {
cli::cli_alert_warning(cli::col_grey("`available` server is currently unavailable. Skipping validation..."))
},
error = function(e) {
cli::cli_alert_warning(cli::col_grey("`available` server is currently unavailable. Skipping validation..."))
}
)
Sys.sleep(1)
Expand Down

0 comments on commit 178da43

Please sign in to comment.