Running ‘testthat.R’ [3s/40s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Rxnat)
  > 
  > test_check("Rxnat")
  ── 1. Error: xnat_api (@test-xnat-api.R#8)  ────────────────────────────────────
  embedded nul in string: '\xbf\xfa\xf8\xefa\026\xc2|\xd2\xca\024\xf8\xf0WJ\x87\x90ͅ\x94t\x82\xdb\a\017\xb7\x85]\xef\xdaM=\xa1\f\x8aL,\x86\xf6\x82e\xc0y\xb6R\xef)xtZqLԕAJ\xd2g\tU~\xda]wF\xc0@\0066\xfb7?\xb7c\xb17\x9c\x94\xa7\x8b\xf2\033(\xf6\xc6ٞ\x82\xaa\x938\xc6ք5^\xb7,!\xf0\022\xecrRPX\035-'\xb9\xed\xf8\U00153f39&\x9a?n㪺\x83\0065ɛ\xe2`\xde_.\xdae\xb5x$\xdb%\xd4X\x94\x89\xa6&6_\xac\0\xff\x99\xa4xO\xd6*\xa5\xa7\006\r\x84럺\x95\xec\xa3\023@\x9aҎ\xa2\xe8\xff\xeaC\017\xd0rS\022\xf4\003'\034\xba\xfce\xa6\xe8Q@u\xb7\017\xdb\xf5-\x838Î\xac2m\xf0I\x85\xf5!(\n뫨\022\xc1\036<\xb7`\xcd6V\x95I\x93\n\xf2\xe2x\xff%\034B\xbb\x87:\0169\025\032\x8c\x85MֺV\x8c\xcf\032\x8a\xd2\n~bG7WM˚\x8b\xea\032ʙ\xa4IY\xdd\f\x96\n\xb6\xd8\xcc\xf8\xb1\025)[d\x9f{\177\xc4\xf9\x91\xc8c\x92\xb0M\xdf\xd0D$\xdc\003dTm\xa9\035;\xe1\\\xbc&\xaf\xaa\x9e%\xd2\f3[AvW\027\xbaY\xc0\017\031\x8a\xf42\xff\xa4\xb9}\xbf\xfek:=V\001\005\xb8\x90T\xed\004Y\xa3\xdd\xff\xcbZ\xb0\xd5\031w\016sC\020\xed\037Oz\xbe'c\xbf>+\xf1\xe0[_
  1: testthat::expect_is(nitrc$get_xnat_experiment_resources("xnat_E00026"), "data.frame") at testthat/test-xnat-api.R:8
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nitrc$get_xnat_experiment_resources("xnat_E00026")
  5: xnat_call(paste0("/data/experiments/", experiment_ID, "/scans/ALL/files?format=csv"))
  6: curlPerform(url = paste(base_url, request, sep = ""), writefunction = reader$update, 
         headerfunction = header$update, customrequest = customrequest, postfields = data, 
         ssl.verifypeer = FALSE, cookie = paste("JSESSIONID=", jsid, sep = ""))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 6 SKIPPED: 0 WARNINGS: 0 FAILED: 1
  1. Error: xnat_api (@test-xnat-api.R#8) 
  
  Error: testthat unit tests failed
  Execution halted