Skip to content

Commit

Permalink
Merge branch 'develop' into 238-genus-family-lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
wcornwell authored Aug 12, 2024
2 parents 1387204 + 281fbe5 commit 6ed6107
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 6ed6107

Please sign in to comment.