Running 'testthat.R' [171s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(freesurferformats)
  > 
  > test_check("freesurferformats")
  -- Warning (test-gifti_xml_tools.R:7:3): We can add global metadata to a GIFTI x
  InternetOpenUrl failed: 'Das Zeitlimit für den Vorgang wurde erreicht.'
  
  -- ERROR (test-gifti_xml_tools.R:7:3): We can add global metadata to a GIFTI xml
  Error: cannot open the connection
  Backtrace:
      x
   1. +-xml2::xml_validate(newtree, xml2::read_xml(gifti_xsd)) test-gifti_xml_tools.R:7:2
   2. +-xml2:::xml_validate.xml_document(newtree, xml2::read_xml(gifti_xsd))
   3. | \-base::stopifnot(inherits(schema, "xml_document"))
   4. +-xml2::read_xml(gifti_xsd)
   5. \-xml2:::read_xml.character(gifti_xsd)
   6.   \-xml2:::read_xml.connection(...)
   7.     +-base::open(x, "rb")
   8.     \-base::open.connection(x, "rb")
  
  -- Skip (test-mgh2nii.R:8:33): An oro.nifti instance can be converted into an fs
  Reason: Test data missing.
  
  [1] "Label table cdata (region names for the rows below):"
   [1] "unknown"                  "bankssts"                
   [3] "caudalanteriorcingulate"  "caudalmiddlefrontal"     
   [5] "corpuscallosum"           "cuneus"                  
   [7] "entorhinal"               "fusiform"                
   [9] "inferiorparietal"         "inferiortemporal"        
  [11] "isthmuscingulate"         "lateraloccipital"        
  [13] "lateralorbitofrontal"     "lingual"                 
  [15] "medialorbitofrontal"      "middletemporal"          
  [17] "parahippocampal"          "paracentral"             
  [19] "parsopercularis"          "parsorbitalis"           
  [21] "parstriangularis"         "pericalcarine"           
  [23] "postcentral"              "posteriorcingulate"      
  [25] "precentral"               "precuneus"               
  [27] "rostralanteriorcingulate" "rostralmiddlefrontal"    
  [29] "superiorfrontal"          "superiorparietal"        
  [31] "superiortemporal"         "supramarginal"           
  [33] "frontalpole"              "temporalpole"            
  [35] "transversetemporal"       "insula"                  
  [1] "Label table attribute columns:"
                           Red Green Blue Alpha      Key    Index
  unknown                   25     5   25     0  1639705  1639705
  bankssts                  25   100   40     0  2647065  2647065
  caudalanteriorcingulate  125   100  160     0 10511485 10511485
  caudalmiddlefrontal      100    25    0     0     6500     6500
  corpuscallosum           120    70   50     0  3294840  3294840
  cuneus                   220    20  100     0  6558940  6558940
  entorhinal               220    20   10     0   660700   660700
  fusiform                 180   220  140     0  9231540  9231540
  inferiorparietal         220    60  220     0 14433500 14433500
  inferiortemporal         180    40  120     0  7874740  7874740
  isthmuscingulate         140    20  140     0  9180300  9180300
  lateraloccipital          20    30  140     0  9182740  9182740
  lateralorbitofrontal      35    75   50     0  3296035  3296035
  lingual                  225   140  140     0  9211105  9211105
  medialorbitofrontal      200    35   75     0  4924360  4924360
  middletemporal           160   100   50     0  3302560  3302560
  parahippocampal           20   220   60     0  3988500  3988500
  paracentral               60   220   60     0  3988540  3988540
  parsopercularis          220   180  140     0  9221340  9221340
  parsorbitalis             20   100   50     0  3302420  3302420
  parstriangularis         220    60   20     0  1326300  1326300
  pericalcarine            120   100   60     0  3957880  3957880
  postcentral              220    20   20     0  1316060  1316060
  posteriorcingulate       220   180  220     0 14464220 14464220
  precentral                60    20  220     0 14423100 14423100
  precuneus                160   140  180     0 11832480 11832480
  rostralanteriorcingulate  80    20  140     0  9180240  9180240
  rostralmiddlefrontal      75    50  125     0  8204875  8204875
  superiorfrontal           20   220  160     0 10542100 10542100
  superiorparietal          20   180  140     0  9221140  9221140
  superiortemporal         140   220  220     0 14474380 14474380
  supramarginal             80   160   20     0  1351760  1351760
  frontalpole              100     0  100     0  6553700  6553700
  temporalpole              70    20  170     0 11146310 11146310
  transversetemporal       150   150  200     0 13145750 13145750
  insula                   255   192   32     0  2146559  2146559
  -- Skip (test-read_fs_annot.R:175:3): An file in FreeSurfer GCA format can be re
  Reason: Freesurfer installation with GCA file available. is not TRUE
  
  -- Skip (test-read_fs_surface.R:89:3): The lh.white of Bert can be read using re
  Reason: Test data missing. is not TRUE
  
  -- Skipped tests  --------------------------------------------------------------
  * Freesurfer installation with GCA file available. is not TRUE (1)
  * Test data missing. (1)
  * Test data missing. is not TRUE (1)
  
  == testthat results  ===========================================================
  Warning (test-gifti_xml_tools.R:7:3): We can add global metadata to a GIFTI xml tree
  ERROR (test-gifti_xml_tools.R:7:3): We can add global metadata to a GIFTI xml tree
  
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 795 ]
  Error: Test failures
  In addition: Warning message:
  In for (call in calls) { :
    closing unused connection 4 (https://www.nitrc.org/frs/download.php/158/gifti.xsd)
  Execution halted