Running ‘testthat.R’ [4s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rglobi")
  Loading required package: rglobi
  ── 1. Error: interactions returned based on species (@test-globi.R#37)  ────────
  invalid multibyte string at '<91><d9>vM<87><ae>z<f5><89>x<f7>u%Q<88>Vv<a0><db>g(<e7><a7><d9>[X:]LZ<f3>8<a7><8e><d8>Kԓa<e4><a9><e6>f]H?E%<8d><ff>ת<8e>KYm<83>-/'
  1: get_interactions_by_taxa(sourcetaxon = "Rattus rattus") at testthat/test-globi.R:37
  2: read_csv(requesturl)
  3: utils::read.csv(url, stringsAsFactors = FALSE, ...)
  4: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  5: type.convert(data[[i]], as.is = as.is[i], dec = dec, numerals = numerals, na.strings = character(0L))
  6: type.convert.default(data[[i]], as.is = as.is[i], dec = dec, numerals = numerals, 
         na.strings = character(0L))
  
  ── 2. Failure: interactions subsetted by adding additional information (@test-gl
  dim(rattusaves)[1] is not strictly less than dim(rattus)[1]. Difference: 5
  
  ── 3. Failure: interactions subsetted by adding additional information (@test-gl
  dim(unique(rbind(rattusaves, rattus))) not equal to dim(unique(rattus)).
  1/2 mismatches
  [1] 17 - 6 == 11
  
  ── 4. Failure: interactions subsetted by adding additional information all inter
  dim(unique(rbind(rattusaves, rattus))) not equal to dim(unique(rattus)).
  1/2 mismatches
  [1] 329 - 304 == 25
  
  ── 5. Failure: interactions subsetted by adding additional information using oth
  dim(merge(unique(rattusaves), unique(rattus), all.x = T, all.y = T)) not equal to dim(unique(rattus)).
  1/2 mismatches
  [1] 328 - 303 == 25
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 40 SKIPPED: 2 FAILED: 5
  1. Error: interactions returned based on species (@test-globi.R#37) 
  2. Failure: interactions subsetted by adding additional information (@test-globi.R#49) 
  3. Failure: interactions subsetted by adding additional information (@test-globi.R#50) 
  4. Failure: interactions subsetted by adding additional information all interaction types (@test-globi.R#60) 
  5. Failure: interactions subsetted by adding additional information using otherkeys, all interaction types include observations (@test-globi.R#77) 
  
  Error: testthat unit tests failed
  Execution halted