Running ‘doRUnit.R’ [2s/2s]
Running the tests in ‘tests/doRUnit.R’ failed.
Complete output:
  > # Run all unit tests in installed directory unitTests
  > # 
  > # Author: Renaud Gaujoux
  > ###############################################################################
  > 
  > pkgmaker::utest('package:pkgmaker', quiet=FALSE)
  #########################
  Loading required package: registry
  
  Attaching package: 'pkgmaker'
  
  The following object is masked from 'package:base':
  
      isNamespaceLoaded
  
  Running unit tests in: '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/pkgmaker/tests'
  Using unit test framework: RUnit
  Using RUnit framework provider: RUnit
  List of 6
   $ name          : chr "package:pkgmaker"
   $ dirs          : chr "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/pkgmaker/tests"
   $ testFileRegexp: chr "^runit.*\\.[rR]$"
   $ testFuncRegexp: chr "^test\\."
   $ rngKind       : chr "Marsaglia-Multicarry"
   $ rngNormalKind : chr "Kinderman-Ramage"
   - attr(*, "class")= chr "RUnitTestSuite"
  
  
  Executing test function test.option_link  ... Setting package specific options: package:R_GlobalEnv (4 default option(s))
   done successfully.
  
  
  
  Executing test function test.resetOptions  ... Resetting package specific options: package:R_GlobalEnv (4 default option(s))
   done successfully.
  
  
  
  Executing test function test.ExposeAttribute  ... Error in `$<-.ExposeAttribute`(`*tmp*`, a, value = 1) : 
    Could not write attribute 'a': permission denied [mode='r'].
  In addition: Warning message:
  In dir.create(opath, recursive = TRUE) :
    cannot create dir '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/pkgmaker/tests-results', reason 'Read-only file system'
  Error in `$<-.ExposeAttribute`(`*tmp*`, a, value = 1) : 
    Could not write attribute 'a': permission denied [mode='r'].
  Error in `$<-.ExposeAttribute`(`*tmp*`, a, value = 1) : 
    Could not write attribute 'a': permission denied [mode=''].
  Error in `$.ExposeAttribute`(y, a) : Object `y` has no attribute 'a'.
  Error in `$.ExposeAttribute`(y, a) : Object `y` has no attribute 'a'.
  Error in `$.ExposeAttribute`(y, a) : Object `y` has no attribute 'a'.
   done successfully.
  
  
  
  Executing test function test.Sys.getenv_value  ...  done successfully.
  
  
  
  Executing test function test.errorCheck  ...  done successfully.
  
  
  
  Executing test function test.str_bs  ...  done successfully.
  
  ------------------- UNIT TEST SUMMARY ---------------------
  
  Error in file(file, ifelse(append, "a", "w")) : 
    cannot open the connection
  Calls: <Anonymous> ... utest -> .local -> printTextProtocol -> cat -> file
  In addition: Warning message:
  In file(file, ifelse(append, "a", "w")) :
    cannot open file '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/pkgmaker/tests-results/utest.package_pkgmaker.Summary.txt': No such file or directory
  Execution halted