Skip to content

Commit

Permalink
fixing error message for facets #686
Browse files Browse the repository at this point in the history
  • Loading branch information
John Waller committed Jan 4, 2024
1 parent 84da7b4 commit 63db6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/occ_count.r
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ occ_count <- function(...,occurrenceStatus="PRESENT", curlopts = list()) {
if(length(bad_args) > 0) warning(paste(bad_args,collapse=",")," not acceptable args for occ_count() and will be ignored.")

# check for multiple values
if(any(!sapply(args,length) == 1)) stop("Multiple values of the form c('a','b') are not supported. Use 'a;b' instead.")
if(any(!sapply(args,length) == 1)) stop("Multiple values of the form c('a','b') are not supported. Use 'a;b' instead. Multiple values are not supported for facets.")

# handle legacy parameters
if("georeferenced" %in% arg_names) {
Expand Down

0 comments on commit 63db6a8

Please sign in to comment.