Skip to content

Commit

Permalink
Merge branch '238-genus-family-lookup' of github.com:traitecoevo/APCa…
Browse files Browse the repository at this point in the history
…lign into 238-genus-family-lookup
  • Loading branch information
wcornwell committed Aug 12, 2024
2 parents 442943d + 6ed6107 commit 21ec278
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/state_diversity_counts.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
#'
#' @examples
#' \donttest{state_diversity_counts(state = "NSW")}
state_diversity_counts <- function(state, resources = load_taxonomic_resources()) {
if (is.null(resources)) {

state_diversity_counts <- function(state,
resources = load_taxonomic_resources()) {

if(is.null(resources)){
message("Not finding taxonomic resources; check internet connection?")
return(NULL)
}
Expand Down

0 comments on commit 21ec278

Please sign in to comment.