Running 'testthat.R' [4s]
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#2)  ------------------------------------
  embedded nul in string: '<U+14D9><f5><U+00AB>W<U+0094><fc><e0>si9<d4>\037 \b<U+00BA>GA\003<e9><c9><d2><f0><e4><U+0097><c9><fb>/X\036<U+009F><U+00A8><U+00B6><U+0095><U+009A><U+0094><f0>"<ec><e4><e9><U+00BF>c<U+00BA>\030c<e3>`<U+00A6>\027\a\016<ff><U+00A7>\030k_K<c8><ed>?i<U+00AA><e5><U+0081>2<d8>q<U+00A6>%f<fd><c4>\017\036<U+00B1>p<U+008F>)#\0064<U+00B6><fe><ee><U+00BE>?/<U+0085>s<U+00B7>_<U+0088>n<da>)C<e9><U+009E><c2><c3>lr<c2>u<U+00A1><c1><f2><U+0008>M\022<U+00A4>/<fc>l<U+0092>.1<U+0082><f9><f3><e0>~<f3>\016v<e8><ea>1<U+00BB><U+00BF>^<e5>\a<U+00B7><da>\t<U+00BD><f3>VB<e8>,\b<de><f4><U+009B><U+0090><c6>92<d2><fe><ee>u\005<c4><dc>H*M<U+00AC><U+0090>A<fb><f7><U+00A2><U+008C>\033<U+0082><U+008A><e0><fc>><f3><U+0096>U@\036u/G<U+009B>Iy%<U+0091>"9<d4>U><U+00A7><U+008B>\a<d4>J<e9><e2>z<U+008A>ht<U+00AB>\022z<df>\t<U+008C>i<U+064E><U+0094><U+0086>Y<e0>AX<U+00A8><f8>qI[<dc><f5><fe>5<ca>on<U+0088><U+00BE><d4>T<U+00BE>W<U+008B>f\004.<U+00AA><U+00A0><dc><ca><f4><U+0085>_<e2><U+009F>_T<c1>1\030.
  1: testthat::expect_silent(nitrc <- xnat_connect("https://nitrc.org/ir")) at testthat/test-xnat-api.R:2
  2: quasi_capture(enquo(object), evaluate_promise)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning, 
         message = handle_message))
  5: force(code)
  6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
  7: withVisible(code)
  8: eval_bare(get_expr(quo), get_env(quo))
  9: xnat_connect("https://nitrc.org/ir")
  10: curlPerform(url = paste(base_url, "/", sep = ""), writefunction = reader$update, 
         headerfunction = header$update, ssl.verifypeer = FALSE)
  
  == testthat results  ===========================================================
  OK: 0 SKIPPED: 0 FAILED: 1
  1. Error: xnat_api (@test-xnat-api.R#2) 
  
  Error: testthat unit tests failed
  Execution halted