Last updated on 2024-11-08 07:50:55 CET.
Package | ERROR | OK |
---|---|---|
algaeClassify | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 2.0.3
Check: examples
Result: ERROR
Running examples in ‘algaeClassify-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gnr_simple
> ### Title: checks species names against a variety of online databases
> ### supports fuzzy partial matching, using the Global Names Resolver
> ### (https://resolver.globalnames.org/)
> ### Aliases: gnr_simple
>
> ### ** Examples
>
> #Visit https://resolver.globalnames.org/data_sources to see all possible
> #data sources for name checking.
> name<-"Aphanazomenon flos-aquae"
> #sourceid=3 for ITIS database,195 for Algaebase
> gnr_simple(name,sourceid=3) #search for ITIS matches
Warning: Failed to open 'http://resolver.globalnames.org/name_resolvers.json?names=Aphanazomenon+flos-aquae&best_match_only=true&data_source_ids=3': The requested URL returned error: 500
Error: lexical error: invalid char in json text.
Error in readLines(con, warn =
(right here) ------^
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 2.0.3
Check: examples
Result: ERROR
Running examples in ‘algaeClassify-Ex.R’ failed
The error most likely occurred in:
> ### Name: gnr_df
> ### Title: Wrapper function to apply gnr_simple across a data.frame or list
> ### of species names
> ### Aliases: gnr_df
>
> ### ** Examples
>
> data(lakegeneva)
> #example dataset with 50 rows
>
> lakegeneva<- genus_species_extract(lakegeneva,'phyto_name')
> lakegeneva$genus_species <- trimws(paste(lakegeneva$genus,
+ lakegeneva$species))
>
> #checking for matches from all GNRS sources:
> lakegeneva.namematches <- gnr_df(lakegeneva,"genus_species")
Error: lexical error: invalid char in json text.
Error in readLines(con, warn =
(right here) ------^
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc