Running ‘testthat.R’ [3s/12s]
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 '<b0>A:~<cf>U'
  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: make.names(col.names, unique = TRUE)
  
  ── 2. Error: interactions subsetted by adding additional information (@test-glob
  more columns than column names
  1: get_interactions_by_taxa(sourcetaxon = "Rattus rattus", interactiontype = interaction_types) at testthat/test-globi.R:45
  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: stop("more columns than column names")
  
  ── 3. Error: interactions subsetted by adding additional information all interac
  invalid multibyte string at '<ba><c8><e3>X<a8><0c><ad>Tz<80><a5>݊<ec><9f><c2><f7><b1>Z+0rZM<c1>5<e3><e8>a<d4>bs<de>%A<ac><a9><b6>Խ<87><f6>n<f8><df><e7><d8><c3>Z<ab>6 <ee><d5>4$R{;T<de>t<b6> <a0><<9b><91><c5>M<fa>q<e4>[<a0><ac><eb>L<90>&<a1>h<91><a7><ee><89>/y<ac><99>{<db>+B<ee>lV<eb><8f>yŷE<9b><9f>1%h<b0>$<ba><97><82><d3>wq<8b><92><f2>Ҟ=l<80>k<bd>@<e9>/Hm<b3>{<9c><ae><c2>B<88><ff>g3B<e1><c9>w<c4><e5><ad><d8>Cq<a1>4<86><c0>y<ab><c3><fe><d3><d1>*l<e4>aêi<ee>$<bc>P<c7>/<a5><85>g^qW<8e>ѤN%_(<fe><be>x<80>'
  1: get_interactions_by_taxa(sourcetaxon = "Rattus rattus") at testthat/test-globi.R:54
  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))
  
  ── 4. Error: interactions subsetted by adding additional information all interac
  more columns than column names
  1: get_interactions_by_taxa(sourcetaxon = "Rattus rattus", returnobservations = T) at testthat/test-globi.R:64
  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: stop("more columns than column names")
  
  ── 5. Error: interactions subsetted by adding additional information using other
  invalid multibyte string at '<de><e7><a5>9Lb<19>$<be><d7>N%<f5>u<f0>Z<f2>@<c9>*S<ee><aa>a^<c0>	<b2>G<c0><8b><9e><8b><f0>JQ<a2><c3><b3><f1><f3><a7>ˤ<84>b<cf><ca>\<b7><fe><+<e7><d8>N<9e><f5><84><b0>L<d1>٦a<cc>?5VuS<9d><ca><d2>ӱ-8<cb>]4􍕜<93><8b>%<8f><a0>1pZ&<fe>s\<a7><90>q<a6><95>d)<f4><cf><c9><f7><80><f4>F<e0><ca><ec><ee><97><d8><fc><b6><9a>P<87><f1><f4><85>'
  1: get_interactions_by_taxa(sourcetaxon = "Rattus rattus") at testthat/test-globi.R:71
  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))
  
  ── 6. Error: interaction matrix can be retrieved (@test-globi.R#105)  ──────────
  invalid multibyte string 1
  1: get_interaction_matrix(source.taxon.names = list("Homo sapiens"), target.taxon.names = list("Mammalia", 
         "Aves")) at testthat/test-globi.R:105
  2: Reduce(function(accum, source.taxon.name) rbind(accum, unique_target_taxa_of_source_taxon(source.taxon.name, 
         target.taxon.names, interaction.type, opts = opts)), source.taxon.names, init = data.frame())
  3: f(init, x[[i]])
  4: rbind(accum, unique_target_taxa_of_source_taxon(source.taxon.name, target.taxon.names, 
         interaction.type, opts = opts))
  5: unique_target_taxa_of_source_taxon(source.taxon.name, target.taxon.names, interaction.type, 
         opts = opts)
  6: get_interactions_by_taxa(sourcetaxon = source.taxon.name, interactiontype = interaction.type, 
         targettaxon = target.taxon.names, opts = opts)
  7: read_csv(requesturl)
  8: utils::read.csv(url, stringsAsFactors = FALSE, ...)
  9: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  10: make.names(col.names, unique = TRUE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 28 SKIPPED: 2 FAILED: 6
  1. Error: interactions returned based on species (@test-globi.R#37) 
  2. Error: interactions subsetted by adding additional information (@test-globi.R#45) 
  3. Error: interactions subsetted by adding additional information all interaction types (@test-globi.R#54) 
  4. Error: interactions subsetted by adding additional information all interaction types include observations (@test-globi.R#64) 
  5. Error: interactions subsetted by adding additional information using otherkeys, all interaction types include observations (@test-globi.R#71) 
  6. Error: interaction matrix can be retrieved (@test-globi.R#105) 
  
  Error: testthat unit tests failed
  Execution halted