Running ‘testthat.R’ [10s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggplot2)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(archivist)
  Welcome to archivist (version: 2.2).
  > library(httr)
  > library(datasets)
  > test_check("archivist")
  ── 1. Error: copying from other repositories and showRepo (@test_jss_artilce.R#4
  'origin' must be supplied
  1: summaryRemoteRepo(user = "pbiecek", repo = "graphGallery") at testthat/test_jss_artilce.R:47
  2: summaryRepo(dir = Temp)
  3: sapply(days, function(x) {
         length(searchInLocalRepo(pattern = list(dateFrom = x, dateTo = x), repoDir = dir))
     })
  4: lapply(X = X, FUN = FUN, ...)
  5: FUN(X[[i]], ...)
  6: searchInLocalRepo(pattern = list(dateFrom = x, dateTo = x), repoDir = dir)
  7: unique(executeSingleQuery(dir = repoDir, paste0("SELECT DISTINCT artifact FROM tag WHERE createdDate >", 
         "'", as.Date(pattern[[1]]) - 1, "'", " AND createdDate <", "'", as.Date(pattern[[2]]) + 
             1, "'")))
  8: executeSingleQuery(dir = repoDir, paste0("SELECT DISTINCT artifact FROM tag WHERE createdDate >", 
         "'", as.Date(pattern[[1]]) - 1, "'", " AND createdDate <", "'", as.Date(pattern[[2]]) + 
             1, "'"))
  9: dbGetQuery(conn, query)
  10: paste0("SELECT DISTINCT artifact FROM tag WHERE createdDate >", "'", as.Date(pattern[[1]]) - 
         1, "'", " AND createdDate <", "'", as.Date(pattern[[2]]) + 1, "'")
  11: as.Date(pattern[[1]])
  12: as.Date.numeric(pattern[[1]])
  13: stop("'origin' must be supplied")
  
    adding: test1234/backpack.db (deflated 96%)
    adding: test1234/gallery/ff575c261c949d073b2895b05d1097c3.rda (deflated 71%)
    adding: test1234/gallery/ff575c261c949d073b2895b05d1097c3.txt (deflated 70%)
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 40 SKIPPED: 0 FAILED: 1
  1. Error: copying from other repositories and showRepo (@test_jss_artilce.R#47) 
  
  Error: testthat unit tests failed
  Execution halted