Running ‘runit.R’ [2s/5s]
  Running ‘testthat.R’ [1s/1s]
  Running ‘tinytest.R’ [0s/1s]
Running the tests in ‘tests/runit.R’ failed.
Complete output:
  > #!/usr/bin/Rscript --vanilla
  > is_failure <- function(result) {
  +     res <- RUnit::getErrors(result)
  +     names(res) <- tolower(names(res)) # soothe lintr
  +     sum_of_exceptions <- res[["nerr"]] + res[["nfail"]]
  +     fail <- as.logical(sum_of_exceptions)
  +     return(fail)
  + }
  > 
  > if (interactive()) {
  +     pkgload::load_all(path = ".") # needed to use pkgload's shim version of
  +     # base's system.file
  +     unit_dir <- system.file("inst", "runit_tests", package = "packager")
  + } else {
  +     require("packager", quietly = TRUE, character.only = TRUE) ||
  +         pkgload::load_all(path = ".") # needed to use pkgload's shim version of
  +     r_call <- commandArgs(trailingOnly = FALSE)
  +     if (any(grepl("--file", r_call))) {
  +         unit_dir <- file.path("inst", "runit_tests")
  +     } else {
  +         unit_dir <- system.file("runit_tests", package = "packager")
  +     }
  + }
  > if (! dir.exists(unit_dir)) {
  +     stop("Can not find RUnit test directory ", unit_dir,
  +          ". Try to (re)install the package first.")
  + }
  > 
  > test_file_regexp <- if (isTRUE(fritools::is_running_on_gitlab_com())) {
  +     "^test.*\\.[rR]$"
  + } else {
  +     "^test.*\\.[rR]$"
  + }
  gimli2 unix
  > package_suite <- RUnit::defineTestSuite("packager_unit_test",
  +                                         dirs = unit_dir,
  +                                         testFileRegexp = test_file_regexp,
  +                                         testFuncRegexp = "^test_+")
  > test_result <- RUnit::runTestSuite(package_suite)
  
  
  Executing test function test_convert_vigentte  ...  done successfully.
  
  
  
  Executing test function test_union_write  ...  done successfully.
  
  
  
  Executing test function test_use_git  ... * Initialising repo
  * Adding `.Rproj.user`, `.Rhistory`, `.RData` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding files and committing
  * Git is already initialized
   done successfully.
  
  
  
  Executing test function test_use_git_ignore  ... * Adding `foo`, `bar` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
   done successfully.
  
  
  
  Executing test function test_git_tag  ...  done successfully.
  
  
  
  Executing test function test_git_tag_create  ...  done successfully.
  
  
  
  Executing test function test_repo  ...  done successfully.
  
  
  
  Executing test function test_get_news  ... * Creating `NEWS.md` from template.
   done successfully.
  
  
  
  Executing test function test_git  ... Error in packager:::is_git_uncommitted(path) : 
    /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp does not appear to be a git repository.
  In addition: Warning messages:
  1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  3: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  5: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  6: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  7: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  8: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  * Initialising repo
  * Adding `.Rproj.user`, `.Rhistory`, `.RData` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding files and committing
   done successfully.
  
  
  
  Executing test function test_is_force  ...  done successfully.
  
  
  
  Executing test function test_is_null_or_true  ...  done successfully.
  
  
  
  Executing test function test_travis  ...  done successfully.
  
  
  
  Executing test function test_url  ... Error in packager:::get_git_url(url, return_only_one = TRUE, force = FALSE,  : 
    Found multiple github URL.
  In addition: Warning message:
  In packager:::get_git_url(url, return_only_one = TRUE, type = "github") :
    Found multiple github URL, using the first.
   done successfully.
  
  
  
  Executing test function test_warn_and_stop  ... fooError in packager:::warn_and_stop("foo") : foo
   done successfully.
  
  
  
  Executing test function test_create_rmd  ... * Adding `.Rprofile` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding `*.tar.gz` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding `prutp.Rcheck` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Creating `Makefile` from template.
  * Adding `Makefile` to `.Rbuildignore`.
  Warning in update_description(path = path, title = tools::toTitleCase(title),  :
    Argument 'author_at_r' is missing, using default.
  Warning in read.dcf(path) :
    cannot open compressed file '', probable reason 'No such file or directory'
  Timing stopped at: 0.212 0.021 0.504
  Error in read.dcf(path) : cannot open the connection
  In addition: Warning messages:
  1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
   done successfully.
  
  Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  
  
  Executing test function test_submit  ... Loading required package: roxygen2
  * Adding `.Rprofile` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding `*.tar.gz` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding `prutp.Rcheck` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Creating `Makefile` from template.
  * Adding `Makefile` to `.Rbuildignore`.
  Warning in update_description(path = path, title = tools::toTitleCase(title),  :
    Argument 'author_at_r' is missing, using default.
  Warning in read.dcf(path) :
    cannot open compressed file '', probable reason 'No such file or directory'
  Timing stopped at: 0.63 0.062 1.035
  Error in read.dcf(path) : cannot open the connection
   done successfully.
  
  Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  
  
  Executing test function test_exception  ... Error in eval(expr, envir = parent.frame()) : Hello, error!
   done successfully.
  
  Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: Marsaglia-Multicarry has poor statistical properties
  Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
    RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
  
  
  Executing test function test_add_commit  ... Error in git_commit(message = message, author = author, committer = committer,  : 
    No staged files to commit. Run git_add() to select files.
   done successfully.
  
  
  
  Executing test function test_githuburl  ... Warning in add_github_url_to_desc(path = path, default_gh_user = NA) :
    Found 0 git remotes refering to `prutp`.
  Warning in add_github_url_to_desc(path = path, default_gh_user = NA) :
    Could not retrieve github user name. Set the URL in DESCRIPTION manually!
   done successfully.
  
  
  
  Executing test function test_news  ... * Adding `.Rprofile` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding `*.tar.gz` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Adding `prutp.Rcheck` to /home/hornik/tmp/scratch/RtmpOPQ7fx/prutp/.gitignore
  * Creating `Makefile` from template.
  * Adding `Makefile` to `.Rbuildignore`.
  Warning in update_description(path = path, title = tools::toTitleCase(title),  :
    Argument 'author_at_r' is missing, using default.
  Warning in read.dcf(path) :
    cannot open compressed file '', probable reason 'No such file or directory'
  Timing stopped at: 0.202 0.03 0.579
  Error in read.dcf(path) : cannot open the connection
   done successfully.
  
  > RUnit::printTextProtocol(test_result, showDetails = TRUE, fileName = "")
  RUNIT TEST PROTOCOL -- Sat Nov  2 15:38:41 2024 
  *********************************************** 
  Number of test functions: 20 
  Number of errors: 3 
  Number of failures: 0 
  
   
  1 Test Suite : 
  packager_unit_test - 20 test functions, 3 errors, 0 failures
  ERROR in test_create_rmd: Error in read.dcf(path) : cannot open the connection
  ERROR in test_submit: Error in read.dcf(path) : cannot open the connection
  ERROR in test_news: Error in read.dcf(path) : cannot open the connection
  
  
  
  Details 
  *************************** 
  Test Suite: packager_unit_test 
  Test function regexp: ^test_+ 
  Test file regexp: ^test.*\.[rR]$ 
  Involved directory: 
  /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests 
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_convert_vignette.R 
  test_convert_vigentte: (4 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_devtools_modified.R 
  test_union_write: (2 checks) ... OK (0.01 seconds)
  test_use_git: (2 checks) ... OK (0.2 seconds)
  test_use_git_ignore: (2 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_git.R 
  test_git_tag: (0 checks) ... OK (0 seconds)
  test_git_tag_create: (0 checks) ... OK (0 seconds)
  test_repo: (10 checks) ... OK (0.08 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_internal.R 
  test_get_news: (1 checks) ... OK (0.36 seconds)
  test_git: (5 checks) ... OK (0.15 seconds)
  test_is_force: (1 checks) ... OK (0 seconds)
  test_is_null_or_true: (3 checks) ... OK (0 seconds)
  test_travis: (0 checks) ... OK (0.04 seconds)
  test_url: (7 checks) ... OK (0.17 seconds)
  test_warn_and_stop: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_main.R 
  test_create_rmd: ERROR !! 
  Error in read.dcf(path) : cannot open the connection
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_submit.R 
  test_submit: ERROR !! 
  Error in read.dcf(path) : cannot open the connection
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_throw.R 
  test_exception: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_tools.R 
  test_add_commit: (3 checks) ... OK (0.1 seconds)
  test_githuburl: (4 checks) ... OK (1.08 seconds)
  test_news: ERROR !! 
  Error in read.dcf(path) : cannot open the connection
  > if (is_failure(test_result)) {
  +     RUnit::printTextProtocol(test_result, showDetails = TRUE)
  +     stop("RUnit failed.")
  + }
  RUNIT TEST PROTOCOL -- Sat Nov  2 15:38:41 2024 
  *********************************************** 
  Number of test functions: 20 
  Number of errors: 3 
  Number of failures: 0 
  
   
  1 Test Suite : 
  packager_unit_test - 20 test functions, 3 errors, 0 failures
  ERROR in test_create_rmd: Error in read.dcf(path) : cannot open the connection
  ERROR in test_submit: Error in read.dcf(path) : cannot open the connection
  ERROR in test_news: Error in read.dcf(path) : cannot open the connection
  
  
  
  Details 
  *************************** 
  Test Suite: packager_unit_test 
  Test function regexp: ^test_+ 
  Test file regexp: ^test.*\.[rR]$ 
  Involved directory: 
  /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests 
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_convert_vignette.R 
  test_convert_vigentte: (4 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_devtools_modified.R 
  test_union_write: (2 checks) ... OK (0.01 seconds)
  test_use_git: (2 checks) ... OK (0.2 seconds)
  test_use_git_ignore: (2 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_git.R 
  test_git_tag: (0 checks) ... OK (0 seconds)
  test_git_tag_create: (0 checks) ... OK (0 seconds)
  test_repo: (10 checks) ... OK (0.08 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_internal.R 
  test_get_news: (1 checks) ... OK (0.36 seconds)
  test_git: (5 checks) ... OK (0.15 seconds)
  test_is_force: (1 checks) ... OK (0 seconds)
  test_is_null_or_true: (3 checks) ... OK (0 seconds)
  test_travis: (0 checks) ... OK (0.04 seconds)
  test_url: (7 checks) ... OK (0.17 seconds)
  test_warn_and_stop: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_main.R 
  test_create_rmd: ERROR !! 
  Error in read.dcf(path) : cannot open the connection
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_submit.R 
  test_submit: ERROR !! 
  Error in read.dcf(path) : cannot open the connection
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_throw.R 
  test_exception: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/packager/runit_tests/test_tools.R 
  test_add_commit: (3 checks) ... OK (0.1 seconds)
  test_githuburl: (4 checks) ... OK (1.08 seconds)
  test_news: ERROR !! 
  Error in read.dcf(path) : cannot open the connection
  Error: RUnit failed.
  Execution halted