AtlasOfLivingAustralia / ALA4R

Access data and resources hosted by the Atlas of Living Australia (ALA)
https://atlasoflivingaustralia.github.io/ALA4R/
41 stars 8 forks source link

ala_list() test failing #49

Closed peggynewman closed 5 years ago

peggynewman commented 5 years ago

error thrown

test-lists.R:26: failure: ala_list does stuff
Names of `l`  ('id', 'name', 'commonName', 'scientificName', 'lsid', 'dataResourceUid', 'kvpValues') 
don't match    'id', 'name', 'commonName', 'scientificName', 'lsid', 'kvpValues'

problem url https://lists.ala.org.au/ws/speciesListItems/dr1146?includeKVP=true

problem code in test-lists.R:

l <- ala_list(druid="dr1146")
expect_named(l,c("id","name","commonName","scientificName","lsid","kvpValues"))

Summary: new field returned in the ws: dataResourceUid (this test is skipped on cran)

peggynewman commented 5 years ago

Fixed