Running examples in ‘zoolog-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ThesaurusReaderWriter
> ### Title: Thesaurus Readers and Writers
> ### Aliases: ThesaurusReaderWriter ReadThesaurus ReadThesaurusSet
> ###   WriteThesaurus WriteThesaurusSet
> 
> ### ** Examples
> 
> ## Read a thesaurus for taxa:
> thesaurusFile <- system.file("extdata", "taxonThesaurus.csv", package="zoolog")
> thesaurus <- ReadThesaurus(thesaurusFile)
> ## The attributes of the thesaurus include the fields 'caseSensitive',
> ## 'accentSensitive', and 'punctuationSensitive', all FALSE by default.
> attributes(thesaurus)
$names
 [1] "Bos taurus"            "Bos primigenius"       "Bos"                  
 [4] "Ovis aries"            "Ovis orientalis"       "Ovis"                 
 [7] "Capra hircus"          "Capra aegagrus"        "Capra"                
[10] "Caprini"               "Sus domesticus"        "Sus scrofa"           
[13] "Sus"                   "Cervus elaphus"        "Cervus"               
[16] "Dama mesopotamica"     "Dama"                  "Gazella gazella"      
[19] "Gazella"               "Equus asinus"          "Equus caballus"       
[22] "Equus"                 "Oryctolagus cuniculus" "Oryctolagus"          
[25] "Canis familiaris"      "Canis lupus"           "Canis"                

$class
[1] "data.frame"

$row.names
 [1]  1  2  3  4  5  6  7  8  9 10 11 12

$caseSensitive
[1] FALSE

$accentSensitive
[1] FALSE

$punctuationSensitive
[1] FALSE

> 
> ## Any of them can be set by the user if desired:
> thesaurus2 <- ReadThesaurus(thesaurusFile, accentSensitive = TRUE)
> attributes(thesaurus2)
$names
 [1] "Bos taurus"            "Bos primigenius"       "Bos"                  
 [4] "Ovis aries"            "Ovis orientalis"       "Ovis"                 
 [7] "Capra hircus"          "Capra aegagrus"        "Capra"                
[10] "Caprini"               "Sus domesticus"        "Sus scrofa"           
[13] "Sus"                   "Cervus elaphus"        "Cervus"               
[16] "Dama mesopotamica"     "Dama"                  "Gazella gazella"      
[19] "Gazella"               "Equus asinus"          "Equus caballus"       
[22] "Equus"                 "Oryctolagus cuniculus" "Oryctolagus"          
[25] "Canis familiaris"      "Canis lupus"           "Canis"                

$class
[1] "data.frame"

$row.names
 [1]  1  2  3  4  5  6  7  8  9 10 11 12

$caseSensitive
[1] FALSE

$accentSensitive
[1] TRUE

$punctuationSensitive
[1] FALSE

> 
> ## Write the thesarus to a file:
> fileExample <- file.path(tempdir(), "thesaurusExample.csv")
> WriteThesaurus(thesaurus, fileExample)
> ## Replace tempdir() for your preferred local path if you want to easily
> ## examine the written file.
> 
> ## Read a thesaurus set:
> thesaurusSetFile <- system.file("extdata", "zoologThesaurusSet.csv", package="zoolog")
> thesaurusSet <- ReadThesaurusSet(thesaurusSetFile)
Error in !x : invalid argument type
Calls: ReadThesaurusSet ... NormalizeForSensitiveness -> lapply -> FUN -> is.false.or.na
Execution halted