Running 'testthat.R' [111s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RstoxData)
  > 
  > test_check("RstoxData")
  [1] "D:/temp/Rtmp6H5JKh/RLIBS_126241cb9f0b/RstoxData/testresources/ICES_Acoustic_1.xml"
  [2] "D:/temp/Rtmp6H5JKh/RLIBS_126241cb9f0b/RstoxData/testresources/ICES_Biotic_1.xml"  
  [3] "D:/temp/Rtmp6H5JKh/RLIBS_126241cb9f0b/RstoxData/testresources/ICES_Acoustic_2.xml"
  [4] "D:/temp/Rtmp6H5JKh/RLIBS_126241cb9f0b/RstoxData/testresources/ICES_Biotic_2.xml"  
  == Failed tests ================================================================
  -- Error (test-StoxExport.R:17:1): (code run outside of `test_that()`) ---------
  Error in `readBin(structure(4L, class = c("url", "connection"), conn_id = <pointer: 0x0000000000000112>), 
      "raw", 65536L)`: cannot read from connection
  Backtrace:
      x
   1. +-RstoxData::ICESBiotic(...) test-StoxExport.R:17:0
   2. | \-base::lapply(...)
   3. |   \-RstoxData:::FUN(X[[i]], ...)
   4. |     \-RstoxData:::BioticData_NMDToICESBioticOne(...)
   5. |       +-xml2::read_xml("https://acoustic.ices.dk/Services/Schema/XML/SpecWoRMS.xml")
   6. |       \-xml2:::read_xml.character("https://acoustic.ices.dk/Services/Schema/XML/SpecWoRMS.xml")
   7. |         \-xml2:::read_xml.connection(...)
   8. \-base::readBin(...)
  
  [ FAIL 1 | WARN 7 | SKIP 0 | PASS 117 ]
  Error: Test failures
  In addition: Warning messages:
  1: In for (i in seq_len(n)) { :
    closing unused connection 5 (D:/temp/Rtmp6H5JKh/RLIBS_126241cb9f0b/RstoxData/testresources/biotic_2020821.zip:biotic_2020821.xml)
  2: In for (i in seq_len(n)) { :
    closing unused connection 4 (D:/temp/Rtmp6H5JKh/RLIBS_126241cb9f0b/RstoxData/testresources/echosounder_2020821.zip:echosounder_2020821.xml)
  3: In for (i in seq_along(e)[-1L]) if (!is.null(e[[i]])) e[[i]] = replace_dot_alias(e[[i]]) :
    closing unused connection 4 (D:/temp/Rtmp6H5JKh/RLIBS_126241cb9f0b/RstoxData/testresources/biotic_2020821.zip:biotic_2020821.xml)
  Execution halted