Running ‘tinytest.R’ [3s/6s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > Sys.setenv(R_TESTS = "")
  > if ( requireNamespace("tinytest", quietly=TRUE) & (.Platform$OS.type == "unix") ) {
  + 
  +   library(slurmR)
  +   if (slurm_available()) {
  +     opts_slurmR$set_tmp_path("/staging/ggv/slurmR-tinytest/")
  +     opts_slurmR$set_opts(partition = "thomas", account = "lc_pdt")
  +   } else {
  +     opts_slurmR$set_tmp_path(tempdir())
  +   }
  +   tinytest::test_package("slurmR")
  + }
  Loading required package: parallel
  slurmR default option for `tmp_path` (used to store auxiliar files) set to:
    /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/slurmR.Rcheck/tests
  You can change this and checkout other slurmR options using: ?opts_slurmR, or you could just type "opts_slurmR" on the terminal.
  
  Running test-Slurm_Map.R..............    0 tests    
  Running test-Slurm_Map.R..............    0 tests    
  Running test-Slurm_Map.R..............    0 tests    [slurmR info] Loading variables and functions... done loading variables and functions.
  
  Running test-Slurm_Map.R..............    0 tests    
  Running test-Slurm_Map.R..............    0 tests    
  Running test-Slurm_Map.R..............    1 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    1 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    1 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    1 tests [0;32mOK[0m [slurmR info] Loading variables and functions... done loading variables and functions.
  
  Running test-Slurm_Map.R..............    1 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    1 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    2 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    3 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    4 tests [0;32mOK[0m 
  Running test-Slurm_Map.R..............    4 tests [0;32mOK[0m 
  
  Running test-Slurm_collect.R..........    0 tests    
  
  Running test-Slurm_lapply.R...........    0 tests    
  Running test-Slurm_lapply.R...........    0 tests    [slurmR info] Loading variables and functions... done loading variables and functions.
  
  Running test-Slurm_lapply.R...........    0 tests    
  Running test-Slurm_lapply.R...........    0 tests    
  Running test-Slurm_lapply.R...........    1 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    1 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    1 tests [0;32mOK[0m [slurmR info] Loading variables and functions... done loading variables and functions.
  
  Running test-Slurm_lapply.R...........    1 tests [0;32mOK[0m [slurmR info] Loading variables and functions... done loading variables and functions.
  
  Running test-Slurm_lapply.R...........    1 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    2 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    3 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    3 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    3 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    3 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    3 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    4 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    5 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    5 tests [0;32mOK[0m Status: No job found. This may be a false negative as the job may still be on it's way to be submitted. (Code -1)
  
  Running test-Slurm_lapply.R...........    6 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    6 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    7 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    8 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    9 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    9 tests [0;32mOK[0m 
  Running test-Slurm_lapply.R...........    9 tests [0;32mOK[0m 
  
  Running test-Slurm_log.R..............    0 tests    
  
  Running test-bash.R...................    4 tests [0;32mOK[0m 
  
  Running test-expand_array_indexes.R...    0 tests    
  Running test-expand_array_indexes.R...    0 tests    
  Running test-expand_array_indexes.R...    1 tests [0;32mOK[0m 
  
  Running test-makeSlurmCluster.R.......    0 tests    
  
  Running test-options.R................    1 tests [0;32mOK[0m 
  
  Running test-slurm_job-class.R........    0 tests    
  Debug mode is now active. Which means that jobs will be called via `sh` and not `sbatch`. You can de-activate debug mode by calling opts_slurmR$debug_off(). Notice that only 1/njobs will be submitted, so not all the data will be processed.
  
  Running test-sourceSlurm.R............    0 tests    
  Running test-sourceSlurm.R............    1 tests [0;31m1 fails[0m 
  Running test-sourceSlurm.R............    2 tests [0;31m1 fails[0m 
  Running test-sourceSlurm.R............    2 tests [0;31m1 fails[0m 
  Running test-sourceSlurm.R............    2 tests [0;31m1 fails[0m 
  
  --------------------------------------------------------------------------------
  Sourcing an R script using Slurm. The bashscript has the following contents:
  --------------------------------------------------------------------------------
  #!/bin/sh
  #SBATCH --job-name=file156926186ff2
  #SBATCH --n-tasks=1
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript --vanilla /tmp/Rtmpx97ljG/file156926186ff2
  --------------------------------------------------------------------------------
  EOF
  --------------------------------------------------------------------------------
  
  Running test-sourceSlurm.R............    2 tests [0;31m1 fails[0m 
  Running test-sourceSlurm.R............    2 tests [0;31m1 fails[0m 
  Running test-sourceSlurm.R............    2 tests [0;31m1 fails[0m 
  
  --------------------------------------------------------------------------------
  Sourcing an R script using Slurm. The bashscript has the following contents:
  --------------------------------------------------------------------------------
  #!/bin/sh
  #SBATCH --job-name=file156926186ff2
  #SBATCH --n-tasks=1
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript --vanilla /tmp/Rtmpx97ljG/file156926186ff2
  --------------------------------------------------------------------------------
  EOF
  --------------------------------------------------------------------------------
  --------------------------------------------------------------------------------
  [VERBOSE MODE ON] The bash file that will be used is located at: /tmp/Rtmpx97ljG/file156926186ff2.slurm and has the following contents:
  --------------------------------------------------------------------------------
  #!/bin/sh
  #SBATCH --job-name=file156926186ff2
  #SBATCH --n-tasks=1
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript --vanilla /tmp/Rtmpx97ljG/file156926186ff2
  --------------------------------------------------------------------------------
  EOF
  --------------------------------------------------------------------------------
  Submitting job... jobid:NA.
  
  Running test-sourceSlurm.R............    3 tests [0;31m1 fails[0m 
  Running test-sourceSlurm.R............    4 tests [0;31m1 fails[0m 
  Running test-sourceSlurm.R............    4 tests [0;31m1 fails[0m 
  
  Running test-the_plan.R...............    1 tests [0;32mOK[0m 
  Running test-the_plan.R...............    2 tests [0;32mOK[0m 
  Running test-the_plan.R...............    3 tests [0;32mOK[0m 
  
  Running test-utils.R..................    0 tests    
  Running test-utils.R..................    0 tests    
  Running test-utils.R..................    1 tests [0;32mOK[0m 
  Running test-utils.R..................    2 tests [0;32mOK[0m 
  Running test-utils.R..................    2 tests [0;32mOK[0m 
  Running test-utils.R..................    3 tests [0;32mOK[0m 
  Running test-utils.R..................    3 tests [0;32mOK[0m 
  
  Running test-wait_slurm.R.............    0 tests    
  Error: ----- FAILED[xcpt]: test-sourceSlurm.R<4--8>
   call| expect_message(current = suppressWarnings(sourceSlurm(system.file("example.R", 
   call| package = "slurmR"), plan = "submit", job_name = "test-sourceSlurm1", 
   call| time = "01:00:00")), pattern = ".*Sourcing an R script using Slurm.*")
   diff| The message message
   diff| '
   diff| 
   diff| '
   diff| does not match pattern '.*Sourcing an R script using Slurm.*' 
  Execution halted