Running 'testthat.R' [54s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RstoxData)
  > 
  > test_check("RstoxData")
  [1] "D:/RCompile/CRANpkg/lib/4.2/RstoxData/testresources/ICES_Acoustic_1.xml"
  [2] "D:/RCompile/CRANpkg/lib/4.2/RstoxData/testresources/ICES_Biotic_1.xml"  
  [3] "D:/RCompile/CRANpkg/lib/4.2/RstoxData/testresources/ICES_Acoustic_2.xml"
  [4] "D:/RCompile/CRANpkg/lib/4.2/RstoxData/testresources/ICES_Biotic_2.xml"  
  [ FAIL 1 | WARN 8 | SKIP 0 | PASS 117 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-StoxExport.R:17:1): (code run outside of `test_that()`) ─────────
  Error in `open.connection(x, "rb")`: cannot open the connection to 'https://acoustic.ices.dk/Services/Schema/XML/SpecWoRMS.xml'
  Backtrace:
      ▆
   1. └─RstoxData::ICESBiotic(...) at 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::open(x, "rb")
   9.             └─base::open.connection(x, "rb")
  
  [ FAIL 1 | WARN 8 | SKIP 0 | PASS 117 ]
  Error: Test failures
  In addition: Warning messages:
  1: In for (i in seq_len(n)) { :
    closing unused connection 4 (https://vocab.ices.dk/services/pox/GetCodeList/SHIPC)
  2: In for (j in seq_along(cn)) { :
    closing unused connection 4 (https://acoustic.ices.dk/Services/Schema/XML/SpecWoRMS.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 5 (D:/RCompile/CRANpkg/lib/4.2/RstoxData/testresources/biotic_2020821.zip:biotic_2020821.xml)
  4: 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:/RCompile/CRANpkg/lib/4.2/RstoxData/testresources/echosounder_2020821.zip:echosounder_2020821.xml)
  5: 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:/RCompile/CRANpkg/lib/4.2/RstoxData/testresources/biotic_2020821.zip:biotic_2020821.xml)
  Execution halted