Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

test failures #61

Closed
maelle opened this issue Dec 17, 2021 · 4 comments
Closed

test failures #61

maelle opened this issue Dec 17, 2021 · 4 comments

Comments

@maelle
Copy link
Contributor

maelle commented Dec 17, 2021

πŸ‘‹ here! I'm investigating the problems seen at https://github.com/r-universe/ropensci/actions/runs/1574868078 when building the package and its docs

I've run the test locally and gotten

==> devtools::test()

β„Ή Loading nbaR
β„Ή Testing nbaR
βœ“ | F W S  OK | Context
⠏ |         0 | Testing class Agent             <Agent>
Fields:
	agentText:	 TSuYEiHZJjtNsw 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Agent [0.1s]
βœ“ |     1   4 | apiClient [0.5s]                
────────────────────────────────────────────────
Skip (test-apiClient.R:3:1): Constructor works
Reason: empty test
────────────────────────────────────────────────
⠏ |         0 | Testing class AssociatedTaxon   <AssociatedTaxon>
Fields:
	name:	 TSuYEiHZJjtNsw 
	relationType:	 wGUOAInYiyjblsDe 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class AssociatedTaxon
⠏ |         0 | Testing class BioStratigraphy   <BioStratigraphy>
Fields:
	youngBioDatingQualifier:	 dEkFjo 
	youngBioName:	 RacWfsApPu 
	youngFossilZone:	 DwYauXP 
	youngFossilSubZone:	 yOacXdAwYpZRf 
	youngBioCertainty:	 gYabwKeLtFmrqRIspnM 
	youngStratType:	 zEeFVwaGpDXWiZMoYuHL 
	bioDatingQualifier:	 LVBi 
	bioPreferredFlag:	 FALSE 
	rangePosition:	 rPU 
	oldBioName:	 voZrDiJAISXCatugfEO 
	bioIdentifier:	 NCaIGn 
	oldFossilzone:	 KTF 
	oldFossilSubzone:	 znlAuYSGqN 
	oldBioCertainty:	 aCJLpUmrsNedqFOftKPy 
	oldBioStratType:	 HQRdu 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class BioStratigraphy
⠏ |         0 | Testing class ChronoStratigraphy<ChronoStratigraphy>
Fields:
	youngRegionalSubstage:	 QPhdmINeESbyqwCak 
	youngRegionalStage:	 bF 
	youngRegionalSeries:	 qYLXh 
	youngDatingQualifier:	 wLmBNuRhHrljWg 
	youngInternSystem:	 QTP 
	youngInternSubstage:	 hnucDZJbxGCa 
	youngInternStage:	 BJuViFHNPrdR 
	youngInternSeries:	 pBbwyEDmHcuQrx 
	youngInternErathem:	 U 
	youngInternEonothem:	 PBNnyMC 
	youngChronoName:	 wsUoNxkVzdfcyJX 
	youngCertainty:	 LeWJgAC 
	oldDatingQualifier:	 TUHbWLoy 
	chronoPreferredFlag:	 FALSE 
	oldRegionalSubstage:	 GqzvMstY 
	oldRegionalStage:	 YlN 
	oldRegionalSeries:	 v 
	oldInternSystem:	 QxFgJjzOolwY 
	oldInternSubstage:	 K 
	oldInternStage:	 fbwovYPBKgpyZsV 
	oldInternSeries:	 Jd 
	oldInternErathem:	 UVNvhIZfpSoGqaygC 
	oldInternEonothem:	 gZRbf 
	oldChronoName:	 uhz 
	chronoIdentifier:	 LqRDOewvlmrPJsVHNY 
	oldCertainty:	 TXZYyrcRUeLoVpqDJP 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class ChronoStratigraphy
⠏ |         0 | Testing class Crs               <Crs>
Fields:
	type:	 hMKafX 
	properties:	list of length 2 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Crs
⠏ |         0 | Testing class DefaultClassification<DefaultClassification>
Fields:
	kingdom:	 vQRWoIOtM 
	phylum:	 KzEFmLBycCUfOHIGPhDt 
	className:	 gRAfdhFLSyuTExPHtmG 
	order:	 RmZBJtOvKurVsTySiP 
	superFamily:	 fyFEHQNe 
	family:	 VmUzSBtLdw 
	genus:	 hjXAPm 
	subgenus:	 jR 
	specificEpithet:	 fCKlJ 
	infraspecificEpithet:	 cKfLFDHhV 
	infraspecificRank:	 ALPJVkjzDBxFyodtCGOh 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class DefaultClassification
⠏ |         0 | Testing class Expert            <Expert>
Fields:
	agentText:	 nWaXtzbSKEmHjZVsI 
	fullName:	 hOcWJiEKmdM 
	organization:	object of class <Organization> 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Expert
⠏ |         0 | Testing class Feature           <Feature>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 10 
	properties:	list of length 2 
	geometry:	 
	id:	 NUotkZFCXqvITOlRyJwH 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Feature
⠏ |         0 | Testing class FeatureCollection <FeatureCollection>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 7 
	features:	list of length 1 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class FeatureCollection
⠏ |         0 | Testing class Filter            <Filter>
Fields:
	acceptRegexp:	 Gk 
	rejectRegexp:	 PmFdsBWwVznM 
	acceptValues:	list of length 6 
	rejectValues:	list of length 8 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Filter
β Ό |         5 | Testing class GatheringEvent    <GatheringEvent>
Fields:
	projectTitle:	 OMUwLfczprK 
	worldRegion:	 lASHqz 
	continent:	 oiYMVHvJQ 
	country:	 VUMWODTCa 
	iso3166Code:	 CtFNcGbhKd 
	provinceState:	 cErobTgxZmltiR 
	island:	 RxpVDuwytIsgcPXNSfdQ 
	locality:	 QlDkOLX 
	city:	 RrJSmifIBlHawGUekN 
	sublocality:	 lnSrC 
	localityText:	 iQ 
	dateTimeBegin:	 1978-04-22 
	dateTimeEnd:	 1762-12-08 
	method:	 mDHYaAIw 
	altitude:	 FWPejKmRD 
	altitudeUnifOfMeasurement:	 TYArwqzNvsEIWFf 
	biotopeText:	 MraYOCkhBboDetjLnK 
	depth:	 LTN 
	depthUnitOfMeasurement:	 XcwjHKklJUExLZ 
	gatheringPersons:	list of length 9 
	gatheringOrganizations:	list of length 9 
	siteCoordinates:	list of length 9 
	namedAreas:	list of length 8 
	associatedTaxa:	list of length 5 
	chronoStratigraphy:	list of length 2 
	lithoStratigraphy:	list of length 4 
	bioStratigraphic:	list of length 6 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class GatheringEvent [0.2s]
⠏ |         0 | Testing class GatheringSiteCoordinates<GatheringSiteCoordinates>
Fields:
	longitudeDecimal:	 0.2092 
	latitudeDecimal:	 0.2144 
	gridCellSystem:	 U 
	gridLatitudeDecimal:	 0.2105 
	gridLongitudeDecimal:	 0.2885 
	gridCellCode:	 XHIyLextGwoTvKa 
	gridQualifier:	 O 
	geoShape:	object of class <Point> 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class GatheringSiteCoordinates
⠏ |         0 | Testing class GeoArea           <GeoArea>
Fields:
	sourceSystem:	object of class <SourceSystem> 
	sourceSystemId:	 nbFvawp 
	recordURI:	 UlFcwRXIfeivgYo 
	id:	 zaMpHuKJwnjYE 
	areaType:	 QALPsrFv 
	locality:	 pSkRWNsIfnV 
	shape:	 
	source:	 mGMZDcwJ 
	isoCode:	 gXr 
	countryNL:	 RpudKLsq 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class GeoArea
βœ“ |         7 | Testing GeoClient metadata endpoints [0.6s]
βœ“ |        13 | Testing miscellaneous GeoClient endpoints [1.3s]
βœ“ |         1 | Testing GeoClient query endpoints [0.1s]
βœ“ |         2 | geoClient                       
⠏ |         0 | Testing class GeoJsonObject     <GeoJsonObject>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 10 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class GeoJsonObject
⠏ |         0 | Testing class GeometryCollection<GeometryCollection>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 7 
	geometries:	list of length 10 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class GeometryCollection
⠏ |         0 | Testing class GroupByScientificNameQuerySpec<GroupByScientificNameQuerySpec>
Fields:
	constantScore:	 FALSE 
	fields:	list of length 6 
	conditions:	list of length 8 
	logicalOperator:	 cDZJbxGCaBwViFH 
	sortFields:	list of length 5 
	from:	 3 
	size:	 1 
	groupSort:	 pBbwyEDmHcuQrx 
	groupFilter:	object of class <Filter> 
	specimensFrom:	 4 
	specimensSize:	 0 
	specimensSortFields:	list of length 5 
	noTaxa:	 TRUE 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class GroupByScientificNameQuerySpec
⠏ |         0 | Testing class Iptc4xmpExt       <Iptc4xmpExt>
Fields:
	locationShown:	 PBNnyMC 
	worldRegion:	 wsUoNxkVzdfcyJX 
	countryCode:	 LeWJgAC 
	countryName:	 TUHbWLoy 
	provinceState:	 HGqyvMsYitlN 
	city:	 v 
	sublocation:	 QxFgJjzOolwY 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Iptc4xmpExt
⠏ |         0 | Testing class LineString        <LineString>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 8 
	coordinates:	list of length 8 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class LineString
⠏ |         0 | Testing class LithoStratigraphy <LithoStratigraphy>
Fields:
	qualifier:	 Olmy 
	preferredFlag:	 FALSE 
	member2:	 OpyvxVHNYR 
	member:	 zXZYyrcRUeLoVpqDJPhM 
	informalName2:	 afXzUwIQRWo 
	informalName:	 OzsMTKuEF 
	importedName2:	 LBKcCUf 
	importedName1:	 HIGPkhiDBgRAfdu 
	lithoIdentifier:	 LSRhTE 
	formation2:	 P 
	formationGroup2:	 FtyAGRmZ 
	formationGroup:	 Jt 
	formation:	 JKOyVzTptlSiPfF 
	certainty2:	 HQNep 
	certainty:	 UVSBtLd 
	bed2:	 hjXAPm 
	bed:	 jR 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class LithoStratigraphy
⠏ |         0 | Testing class LngLatAlt         <LngLatAlt>
Fields:
	longitude:	 0.1007 
	latitude:	 0.4165 
	altitude:	 0.9248 
	additionalElements:	list of length 9 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class LngLatAlt
βœ“ |   3 1  11 | metadataClient [1.0s]           
────────────────────────────────────────────────
Warning (test-metadataClient.R:13:3): Controlled lists work
javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://api.biodiversitydata.nl/v2/metadata/getControlledList/PhaseOrStage
Backtrace:
 1. testthat::expect_true(...) test-metadataClient.R:13:2
 4. mdc$get_controlled_list_phase_or_stage()
 5. self$handleError(response) /home/maelle/Documents/ropensci/nbaR/R/MetadataClient.r:240:8

Skip (test-metadataClient.R:20:1): GetRestServices works
Reason: empty test

Warning (test-metadataClient.R:33:5): Settings work
Status code:500
Internal Server Error
Exception: Invalid NBA setting: 3
Exception type: java.lang.IllegalArgumentException
Full stack trace stored in response object
Backtrace:
 1. mdc$get_setting(s) test-metadataClient.R:33:4
 2. self$handleError(response) /home/maelle/Documents/ropensci/nbaR/R/MetadataClient.r:395:8

Warning (test-metadataClient.R:33:5): Settings work
Status code:500
Internal Server Error
Exception: Invalid NBA setting: 15
Exception type: java.lang.IllegalArgumentException
Full stack trace stored in response object
Backtrace:
 1. mdc$get_setting(s) test-metadataClient.R:33:4
 2. self$handleError(response) /home/maelle/Documents/ropensci/nbaR/R/MetadataClient.r:395:8
────────────────────────────────────────────────
⠏ |         0 | Testing class Monomial          <Monomial>
Fields:
	rank:	 TSuYEiHZJjtNsw 
	name:	 wGUOAInYiyjblsDe 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Monomial
⠏ |         0 | Testing class MultiLineString   <MultiLineString>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 10 
	coordinates:	list of length 8 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class MultiLineString
βœ“ |        11 | Testing multimedia find functions [0.3s]
βœ“ |         7 | Testing multimedia metadata endpoints [0.5s]
βœ“ |       240 | Testing miscellaneous multimedia endpoints [113.1s]
βœ“ |        21 | Testing multimedia query endpoints [0.6s]
βœ“ |         2 | multimediaClient                
⠏ |         0 | Testing class MultiMediaContentIdentification<MultiMediaContentIdentification>
Fields:
	taxonRank:	 TSuYEiHZJjtNsw 
	scientificName:	object of class <ScientificName> 
	typeStatus:	 wGUOAInYiyjblsDe 
	dateIdentified:	 1933-01-04 
	defaultClassification:	object of class <DefaultClassification> 
	systemClassification:	list of length 5 
	vernacularNames:	list of length 5 
	identificationQualifiers:	list of length 9 
	identifiers:	list of length 3 
	taxonomicEnrichments:	list of length 2 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class MultiMediaContentIdentification [0.1s]
⠏ |        10 | Testing class MultiMediaGatheringEvent<MultiMediaGatheringEvent>
Fields:
	projectTitle:	 rPU 
	worldRegion:	 voZrDiJAISXCatugfEO 
	continent:	 NCaIGn 
	country:	 KTF 
	iso3166Code:	 znlAuYSGqN 
	provinceState:	 aCJLpUmrsNedqFOftKPy 
	island:	 HQRdu 
	locality:	 QPhdmINeESbyqwCak 
	city:	 bF 
	sublocality:	 qYLXh 
	localityText:	 wLmBNuRhHrljWg 
	dateTimeBegin:	 1904-11-18 
	dateTimeEnd:	 1771-05-19 
	method:	 JbZGCarBzViFHNPldR 
	altitude:	 pBbwyEDmHcuQrx 
	altitudeUnifOfMeasurement:	 U 
	biotopeText:	 PBNnyMC 
	depth:	 wsUoNxkVzdfcyJX 
	depthUnitOfMeasurement:	 LeWJgAC 
	gatheringPersons:	list of length 8 
	gatheringOrganizations:	list of length 4 
	siteCoordinates:	list of length 5 
	namedAreas:	list of length 8 
	associatedTaxa:	list of length 7 
	chronoStratigraphy:	list of length 9 
	lithoStratigraphy:	list of length 9 
	iptc:	object of class <Iptc4xmpExt> 
	bioStratigraphic:	list of length 5 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class MultiMediaGatheringEvent [0.1s]
β Ό |         5 | Testing class MultiMediaObject  <MultiMediaObject>
Fields:
	sourceSystem:	object of class <SourceSystem> 
	sourceSystemId:	 HGqyvMsYitlN 
	recordURI:	 v 
	id:	 QxFgJjzOolwY 
	sourceInstitutionID:	 K 
	sourceID:	 fbwovYPBKgpyZsV 
	owner:	 Jd 
	licenseType:	 UVNvhIZfpSoGqaygC 
	license:	 gZRbf 
	unitID:	 uhz 
	collectionType:	 LqRDOewvlmrPJsVHNY 
	title:	 TXZYyrcRUeLoVpqDJP 
	caption:	 hMKafX 
	description:	 vQRWoIOtM 
	serviceAccessPoints:	list of length 4 
	type:	 KEFmLBzcCUf 
	taxonCount:	 7 
	creator:	 HIGPkhiDBgRAfdu 
	copyrightText:	 LSRhTE 
	associatedSpecimenReference:	 P 
	associatedTaxonReference:	 FtyAGRmZ 
	multiMediaPublic:	 FALSE 
	subjectParts:	list of length 6 
	subjectOrientations:	list of length 10 
	phasesOrStages:	list of length 10 
	sexes:	list of length 7 
	gatheringEvents:	list of length 4 
	identifications:	list of length 1 
	theme:	list of length 9 
	associatedSpecimen:	object of class <Specimen> 
	associatedTaxon:	object of class <Taxon> 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class MultiMediaObject [0.2s]
⠏ |         0 | Testing class MultiPoint        <MultiPoint>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 7 
	coordinates:	list of length 7 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class MultiPoint
⠏ |         0 | Testing class MultiPolygon      <MultiPolygon>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 8 
	coordinates:	list of length 8 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class MultiPolygon
⠏ |         0 | Testing class NamedArea         <NamedArea>
Fields:
	areaClass:	 VDuzpwIvgc 
	areaName:	 oXNSfdQGtlDkOLyR 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class NamedArea
⠏ |         0 | Testing class Organization      <Organization>
Fields:
	agentText:	 rJSmifIBlHaxGUezNo 
	name:	 CBiQvOqbYxHm 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Organization
⠏ |         0 | Testing class Path              <Path>
Fields:
	purePath:	 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Path
⠏ |         0 | Testing class Person            <Person>
Fields:
	agentText:	 HYaA 
	fullName:	 YIFWPejKm 
	organization:	object of class <Organization> 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Person
⠏ |         0 | Testing class Point             <Point>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 6 
	coordinates:	object of class <LngLatAlt> 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Point
⠏ |         0 | Testing class Polygon           <Polygon>
Fields:
	crs:	object of class <Crs> 
	bbox:	list of length 7 
	coordinates:	list of length 5 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Polygon
⠏ |         0 | Testing class QueryCondition    <QueryCondition>
Fields:
	not:	 ALPsrFwKpSkRWNIfV 
	field:	 
	operator:	 mGMZDcwJ 
	value:	 
	and:	list of length 3 
	or:	list of length 1 
	constantScore:	 FALSE 
	boost:	 0.6598 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class QueryCondition
⠏ |         0 | Testing class QueryResult       <QueryResult>
Fields:
	totalSize:	 0.1027 
	resultSet:	list of length 2 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class QueryResult
⠏ |         0 | Testing class QueryResultItem   <QueryResultItem>
Fields:
	score:	 0.6715 
	item:	 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class QueryResultItem
⠏ |         0 | Testing class QueryResultItemObject<QueryResultItemObject>
Fields:
	score:	 0.4695 
	item:	 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class QueryResultItemObject
βœ“ |         2 | Testing miscellaneous QuerySpec properties [0.3s]
⠏ |         0 | Testing class QuerySpec         <QuerySpec>
Fields:
	constantScore:	 FALSE 
	fields:	list of length 7 
	conditions:	list of length 4 
	logicalOperator:	 wYauXPsOxcvdAqyZRfSg 
	sortFields:	list of length 9 
	from:	 10 
	size:	 10 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class QuerySpec
⠏ |         0 | Testing class Reference         <Reference>
Fields:
	titleCitation:	 eFmrzyRILtuM 
	citationDetail:	 zEeFVwaGpDXWiZMoYuHL 
	uri:	 LVBi 
	author:	object of class <Person> 
	publicationDate:	 1798-03-09 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Reference
⠏ |         0 | Testing class RestService       <RestService>
Fields:
	endPoint:	 PUevoZrDiJAI 
	method:	 uXCvraspJingfEOeNxz 
	consumes:	 IGnCKTFJxlAYSyNaws 
	produces:	 pUmrwNeduoFO 
	url:	 FvKPCYEHQR 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class RestService
⠏ |         0 | Testing class ScientificName    <ScientificName>
Fields:
	fullScientificName:	 QzPhdmINeESbxpv 
	taxonomicStatus:	 azB 
	genusOrMonomial:	 kqYLXh 
	subgenus:	 wLmBNuRhHrljWg 
	specificEpithet:	 QTP 
	infraspecificEpithet:	 hnucDZJbxGCa 
	infraspecificMarker:	 BJuViFHNPrdR 
	nameAddendum:	 pBbwyEDmHcuQrx 
	authorshipVerbatim:	 U 
	author:	 PBNnyMC 
	year:	 wsUoNxkVzdfcyJX 
	scientificNameGroup:	 LeWJgAC 
	references:	list of length 8 
	experts:	list of length 4 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class ScientificName
⠏ |         0 | Testing class ServiceAccessPoint<ServiceAccessPoint>
Fields:
	accessUri:	 bWLoUrHG 
	format:	 GvMstYiulNA 
	variant:	 cLQFgJjxOolvYbqK 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class ServiceAccessPoint
⠏ |         0 | Testing class SortField         <SortField>
Fields:
	path:	 
	sortOrder:	 fbwovYPBKgpyZsV 
	ascending:	 FALSE 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class SortField
⠏ |         0 | Testing class SourceSystem      <SourceSystem>
Fields:
	code:	 Jd 
	name:	 UVNvhIZfpSoGqaygC 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class SourceSystem
⠏ |         0 | Testing class Specimen          <Specimen>
Fields:
	sourceSystem:	object of class <SourceSystem> 
	sourceSystemId:	 gZRbf 
	recordURI:	 uhz 
	id:	 LqRDOewvlmrPJsVHNY 
	unitID:	 TXZYyrcRUeLoVpqDJP 
	unitGUID:	 hMKafX 
	collectorsFieldNumber:	 vQRWoIOtM 
	assemblageID:	 KzEFmLBycCUfOHIGPhDt 
	sourceInstitutionID:	 gRAfdhFLSyuTExPHtmG 
	sourceID:	 RmZBJtOvKurVsTySiP 
	previousSourceID:	list of length 9 
	owner:	 jADBP 
	licenseType:	 FLzdjlCGOnqrQWaXbS 
	license:	 EmHjZVSkpIK 
	recordBasis:	 Oc 
	kindOfUnit:	 iEKmdsMNbh 
	collectionType:	 dQNvXGrioPtnIUuOg 
	sex:	 pCdGW 
	phaseOrStage:	 EkcHVMmexIYgtUjsyGNK 
	title:	 pwfJE 
	notes:	 jqmuyzF 
	preparationType:	 WBHQNUokZFCX 
	previousUnitsText:	 qkzITOlRUJF 
	numberOfSpecimen:	 7 
	fromCaptivity:	 TRUE 
	objectPublic:	 TRUE 
	multiMediaPublic:	 TRUE 
	acquiredFrom:	object of class <Agent> 
	gatheringEvent:	object of class <GatheringEvent> 
	identifications:	list of length 3 
	associatedMultiMediaUris:	list of length 7 
	theme:	list of length 7 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Specimen
  |======================================================================| 100%
  |======================================================================| 100%
  |======================================================================| 100%
βœ“ |         5 | Testing dwca related functions [1.1s]
βœ“ |        26 | Testing specimen find functions [1.0s]
βœ“ |        11 | Testing specimen metadata endpoints [0.6s]
βœ“ |   2 2 279 | Testing miscellaneous specimen endpoints [284.8s]
────────────────────────────────────────────────
Skip (test-specimenClient-misc.R:56:3): download endpoint works
Reason: ndjson not supperoted yet, see issue #51

Warning (test-specimenClient-misc.R:88:3): getIdsInCollection works
javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://api.biodiversitydata.nl/v2/specimen/getIdsInCollection/siebold
Backtrace:
 1. sc$get_ids_in_collection("siebold") test-specimenClient-misc.R:88:2
 2. self$handleError(response) /home/maelle/Documents/ropensci/nbaR/R/SpecimenClient.r:970:8

Warning (test-specimenClient-misc.R:94:3): getNamedCollections works
javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://api.biodiversitydata.nl/v2/specimen/getNamedCollections
Backtrace:
 1. sc$get_named_collections() test-specimenClient-misc.R:94:2
 2. self$handleError(response) /home/maelle/Documents/ropensci/nbaR/R/SpecimenClient.r:993:8

Skip (test-specimenClient-misc.R:132:3): countDistinctValuesPerGroup works
Reason: Still unclear which datatype to return, see issue #43
────────────────────────────────────────────────
x | 1      30 | Testing query function [3.6s]   
────────────────────────────────────────────────
Failure (test-specimenClient-query.R:145:3): Errors and warnings work
res$response$status_code not equal to 500.
1/1 mismatches
[1] 400 - 500 == -100
────────────────────────────────────────────────
  |======================================================================| 100%
  |======================================================================| 100%
  |======================================================================| 100%
βœ“ |   2 2 317 | Testing wrapper functions for specimen client [32.1s]
────────────────────────────────────────────────
Skip (test-specimenClient-wrapper.R:57:3): specimen_download_query works
Reason: ndjson not supperoted yet, see issue #51

Warning (test-specimenClient-wrapper.R:186:3): specimen_get_ids_in_collection works
javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://api.biodiversitydata.nl/v2/specimen/getIdsInCollection/siebold
Backtrace:
 1. nbaR::specimen_get_ids_in_collection("siebold") test-specimenClient-wrapper.R:186:2
 2. sc$get_ids_in_collection(name, ...) /home/maelle/Documents/ropensci/nbaR/R/SpecimenClient-wrapper.r:388:2
 3. self$handleError(response) /home/maelle/Documents/ropensci/nbaR/R/SpecimenClient.r:970:8

Warning (test-specimenClient-wrapper.R:192:3): getNamedCollections works
javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://api.biodiversitydata.nl/v2/specimen/getNamedCollections
Backtrace:
 1. nbaR::specimen_get_named_collections() test-specimenClient-wrapper.R:192:2
 2. sc$get_named_collections(...) /home/maelle/Documents/ropensci/nbaR/R/SpecimenClient-wrapper.r:410:2
 3. self$handleError(response) /home/maelle/Documents/ropensci/nbaR/R/SpecimenClient.r:993:8

Skip (test-specimenClient-wrapper.R:211:1): specimen_group_by_scientific_name works
Reason: empty test
────────────────────────────────────────────────
βœ“ |         2 | specimenClient                  
⠏ |         0 | Testing class SpecimenIdentification<SpecimenIdentification>
Fields:
	taxonRank:	 TSuYEiHZJjtNsw 
	scientificName:	object of class <ScientificName> 
	typeStatus:	 wGUOAInYiyjblsDe 
	dateIdentified:	 1933-01-04 
	defaultClassification:	object of class <DefaultClassification> 
	systemClassification:	list of length 5 
	vernacularNames:	list of length 5 
	identificationQualifiers:	list of length 9 
	identifiers:	list of length 3 
	taxonomicEnrichments:	list of length 2 
	preferred:	 TRUE 
	verificationStatus:	 PUevoZrDiJAI 
	rockType:	 uXCvraspJingfEOeNxz 
	associatedFossilAssemblage:	 IGnCKTFJxlAYSyNaws 
	rockMineralUsage:	 pUmrwNeduoFO 
	associatedMineralName:	 FvKPCYEHQR 
	remarks:	 QzPhdmINeESbxpv 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class SpecimenIdentification
⠏ |         0 | Testing class SummaryScientificName<SummaryScientificName>
Fields:
	fullScientificName:	 azB 
	taxonomicStatus:	 kqYLXh 
	genusOrMonomial:	 wLmBNuRhHrljWg 
	subgenus:	 QTP 
	specificEpithet:	 hnucDZJbxGCa 
	infraspecificEpithet:	 BJuViFHNPrdR 
	authorshipVerbatim:	 pBbwyEDmHcuQrx 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class SummaryScientificName
⠏ |         0 | Testing class SummarySourceSystem<SummarySourceSystem>
Fields:
	code:	 U 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class SummarySourceSystem
⠏ |         0 | Testing class SummaryVernacularName<SummaryVernacularName>
Fields:
	name:	 PBNnyMC 
	language:	 wsUoNxkVzdfcyJX 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class SummaryVernacularName
⠏ |         0 | Testing class Taxon             <Taxon>
Fields:
	sourceSystem:	object of class <SourceSystem> 
	sourceSystemId:	 LeWJgAC 
	recordURI:	 TUHbWLoy 
	id:	 HGqyvMsYitlN 
	sourceSystemParentId:	 v 
	taxonRank:	 QxFgJjzOolwY 
	taxonRemarks:	 K 
	occurrenceStatusVerbatim:	 fbwovYPBKgpyZsV 
	acceptedName:	object of class <ScientificName> 
	defaultClassification:	object of class <DefaultClassification> 
	systemClassification:	list of length 2 
	synonyms:	list of length 5 
	vernacularNames:	list of length 10 
	descriptions:	list of length 1 
	references:	list of length 5 
	experts:	list of length 6 
	validName:	object of class <ScientificName> 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class Taxon
  |======================================================================| 100%
  |======================================================================| 100%
  |======================================================================| 100%
βœ“ |         5 | Testing dwca related functions for taxon objects [1.4s]
βœ“ |        10 | Testing taxon find functions [0.5s]
βœ“ |        11 | Testing TaxonClient metadata endpoints [0.6s]
βœ“ |       117 | Testing miscellaneous TaxonClient endpoints [26.4s]
x | 1      26 | Testing query function [2.0s]   
────────────────────────────────────────────────
Failure (test-taxonClient-query.R:70:3): Errors and warnings work
res$response$status_code not equal to 500.
1/1 mismatches
[1] 400 - 500 == -100
────────────────────────────────────────────────
βœ“ |         2 | taxonClient                     
⠏ |         0 | Testing class TaxonDescription  <TaxonDescription>
Fields:
	category:	 TSuYEiHZJjtNsw 
	description:	 wGUOAInYiyjblsDe 
	language:	 dEkFjo 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class TaxonDescription
⠏ |         0 | Testing class TaxonomicEnrichment<TaxonomicEnrichment>
Fields:
	vernacularNames:	list of length 10 
	synonyms:	list of length 2 
	sourceSystem:	object of class <SummarySourceSystem> 
	taxonId:	 ApPymDYaXxOsc 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class TaxonomicEnrichment
⠏ |         0 | Testing class VernacularName    <VernacularName>
Fields:
	name:	 c 
	language:	 ZRfSgYabsK 
	preferred:	 TRUE 
	references:	list of length 6 
	experts:	list of length 7 
Methods:
	fromJSONString
	toJSONString
	fromList
	toList
	print
βœ“ |        11 | Testing class VernacularName

══ Results ═════════════════════════════════════
Duration: 476.4 s

── Skipped tests  ──────────────────────────────
β€’ empty test (3)
β€’ ndjson not supperoted yet, see issue #51 (2)
β€’ Still unclear which datatype to return, see issue #43 (1)

[ FAIL 2 | WARN 7 | SKIP 6 | PASS 1745 ]

Happy to help fixing if needed.
You might be interested in https://books.ropensci.org/http-testing/ if you want to cache some API responses.

@maelle
Copy link
Contributor Author

maelle commented Jan 20, 2022

πŸ‘‹ @hettling @rvosa Friendly reminder 😸

Happy to help if needed.

@maelle
Copy link
Contributor Author

maelle commented Nov 7, 2022

@KevCaz is any help needed?

@maelle
Copy link
Contributor Author

maelle commented Jan 5, 2023

@KevCaz Happy New Year! Is any help needed?

@maelle
Copy link
Contributor Author

maelle commented Sep 5, 2023

@KevCaz any update? I also see a vignette failure via https://ropensci.r-universe.dev/builds

@maelle maelle closed this as completed Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant