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

> ### Name: standardize_traits
> ### Title: Standardize trait names and harmonize measured values and
> ###   reported facts
> ### Aliases: standardize_traits standardise_traits standardize.traits
> 
> ### ** Examples
> 
> 
> 
> pulldata("carabids")
The dataset 'carabids' is now available for use! 

> 
> dataset1 <- as.traitdata(carabids,
+   taxa = "name_correct",
+   traits = c("body_length", "antenna_length", "metafemur_length"),
+   units = "mm",
+   keep = c(datasetID = "source_measurement", measurementRemark = "note"),
+   metadata = list(
+     bibliographicCitation = attributes(carabids)$citeAs,
+     author = "Fons van der Plas",
+     license = "http://creativecommons.org/publicdomain/zero/1.0/"
+     )
+ )
Input is taken to be a species -- trait matrix. If this is not the case, please provide parameters!
> 
> traitlist <- as.thesaurus(
+ body_length = as.trait("body_length", expectedUnit = "mm", valueType = "numeric",
+    identifier = "http://t-sita.cesab.org/BETSI_vizInfo.jsp?trait=Body_length"),
+ antenna_length = as.trait("antenna_length", expectedUnit = "mm", valueType = "numeric",
+    identifier = "http://t-sita.cesab.org/BETSI_vizInfo.jsp?trait=Antenna_length"),
+ metafemur_length = as.trait("metafemur_length", expectedUnit = "mm", valueType = "numeric",
+    identifier = "http://t-sita.cesab.org/BETSI_vizInfo.jsp?trait=Femur_length")
+ )
> 
> dataset1Std <- standardize_traits(dataset1, thesaurus = traitlist)
> 
> 
> 
> ## Example: matching of original names to thesaurus
> 
> pulldata("heteroptera_raw")
Direct call to data source failed. Please check internet connectivity and re-load data!
> 
> dataset2 <- as.traitdata(heteroptera_raw,
+   taxa = "SpeciesID",
+   traits = c("Body_length", "Antenna_Seg1", "Antenna_Seg2",
+     "Antenna_Seg3", "Antenna_Seg4", "Antenna_Seg5", "Hind.Femur_length"),
+   units = "mm",
+   keep = c(sex = "Sex", references = "Source", lifestage = "Wing_development"),
+   metadata = list(
+     bibliographicCitation = attributes(heteroptera_raw)$citeAs,
+     license = "http://creativecommons.org/publicdomain/zero/1.0/"
+     )
+ )
Error in as.traitdata(heteroptera_raw, taxa = "SpeciesID", traits = c("Body_length",  : 
  object 'heteroptera_raw' not found
Execution halted