Closed gothub closed 4 years ago
The CRAN package check results for the released datapack 1.3.1 show an error for r-devel-windows-ix86+x86_64:
datapack 1.3.1
checking examples ... ERROR Running examples in 'datapack-Ex.R' failed The error most likely occurred in: > ### Name: serializeSystemMetadata > ### Title: Serialize a SystemMetadata object to an XML representation > ### Aliases: serializeSystemMetadata > ### serializeSystemMetadata,SystemMetadata-method > > ### ** Examples > > library(XML) > doc <- xmlParseDoc(system.file("testfiles/sysmeta.xml", package="datapack"), asText=FALSE) > sysmeta <- new("SystemMetadata") > sysmeta <- parseSystemMetadata(sysmeta, xmlRoot(doc)) > sysmetaXML <- serializeSystemMetadata(sysmeta, version="v2") > > > > cleanEx() detaching 'package:XML' Error: connections left open: NULL (textConnection) Execution halted
I checked the package results on 10/11/2019 and the problem has been resolved, without changing datapack, so I will assume that it was a problem with CRAN platform.
datapack
The example shown in the error does not use a textConnection.
The CRAN package check results for the released
datapack 1.3.1
show an error for r-devel-windows-ix86+x86_64: