Running ‘poissonL2T-savedvalues.R’
  Running ‘poissonL2T.R’
  Running ‘poissonMT-savedvalues.R’
  Running ‘poissonMT.R’
  Running ‘poissonMTinitial-savedvalues.R’
  Running ‘poissonMTinitial.R’
  Running ‘poissonMTinitialParallel-savedvalues.R’
  Running ‘poissonMTinitialParallel.R’
Running the tests in ‘tests/poissonL2T.R’ failed.
Complete output:
  > library(poissonMT)
  Loading required package: MASS
  Loading required package: robustbase
  Loading required package: robcbi
  
  Attaching package: 'robcbi'
  
  The following objects are masked from 'package:stats':
  
      add1, anova, drop1, step, weights
  
  Loading required package: checkmate
  > set.seed(1234)
  > p <- 50
  > beta <- rep(1/p,p)
  > n <- 10*p
  > x <- matrix(rnorm(p*n,0,1), ncol=p)
  > eta <- x%*%beta
  > mu <- exp(eta)
  > y <- rpois(n, mu)
  > 
  > Test <- FALSE
  > if (!Test) {
  +   poissonMTsetwd(tempdir())   
  +   Saved <- poissonL2T(x=cbind(1,x), y=y)
  +   dput(Saved, file="poissonL2T-savedvalues.R")
  + } else {
  +   poissonMTsetwd(tempdir())   
  +   Saved <- dget(file="poissonL2T-savedvalues.R")
  +   Test <- poissonL2T(x=cbind(1,x), y=y)
  +   stopifnot(
  +     all.equal(Saved, Test, tol = 2e-6)
  +   )
  + }
  Error in qtest(x, "S+") : 
    STRING_ELT() can only be applied to a 'character vector', not a 'builtin'
  Calls: poissonL2T ... testPathForOutput -> isTRUE -> checkPathForOutput -> qtest
  Execution halted
Running the tests in ‘tests/poissonMT.R’ failed.
Complete output:
  > library(poissonMT)
  Loading required package: MASS
  Loading required package: robustbase
  Loading required package: robcbi
  
  Attaching package: 'robcbi'
  
  The following objects are masked from 'package:stats':
  
      add1, anova, drop1, step, weights
  
  Loading required package: checkmate
  > set.seed(1234)
  > p <- 50
  > beta <- rep(1/p,p)
  > n <- 10*p
  > x <- matrix(rnorm(p*n,0,1), ncol=p)
  > eta <- x%*%beta
  > mu <- exp(eta)
  > y <- rpois(n, mu)
  > 
  > Test <- FALSE
  > if (!Test) {
  +   poissonMTsetwd(tempdir())
  +   Saved <- poissonMTinitial(x=cbind(1,x), y=y, start=c(0,beta))
  +   dput(Saved, file="poissonMT-savedvalues.R")
  + } else {
  +   poissonMTsetwd(tempdir())   
  +   Saved <- dget(file="poissonMT-savedvalues.R")
  +   Test <- poissonMTinitial(x=cbind(1,x), y=y, start=c(0,beta))
  +   stopifnot(
  +     all.equal(Saved, Test, tol = 2e-6)
  +   )
  + }
  Error in qtest(x, "S+") : 
    STRING_ELT() can only be applied to a 'character vector', not a 'builtin'
  Calls: poissonMTinitial ... testPathForOutput -> isTRUE -> checkPathForOutput -> qtest
  Execution halted
Running the tests in ‘tests/poissonMTinitial.R’ failed.
Complete output:
  > library(poissonMT)
  Loading required package: MASS
  Loading required package: robustbase
  Loading required package: robcbi
  
  Attaching package: 'robcbi'
  
  The following objects are masked from 'package:stats':
  
      add1, anova, drop1, step, weights
  
  Loading required package: checkmate
  > set.seed(1234)
  > p <- 50
  > beta <- rep(1/p,p)
  > n <- 10*p
  > x <- matrix(rnorm(p*n,0,1), ncol=p)
  > eta <- x%*%beta
  > mu <- exp(eta)
  > y <- rpois(n, mu)
  > 
  > Test <- FALSE
  > if (!Test) {
  +   poissonMTsetwd(tempdir())
  +   Saved <- poissonMTinitial(x=cbind(1,x), y=y)
  +   dput(Saved, file="poissonMTinitial-savedvalues.R")
  + } else {
  +   poissonMTsetwd(tempdir()) 
  +   Saved <- dget(file="poissonMTinitial-savedvalues.R")
  +   Test <- poissonMTinitial(x=cbind(1,x), y=y)
  +   stopifnot(
  +     all.equal(Saved, Test, tol = 2e-6)
  +   )
  + }
  Error in qtest(x, "S+") : 
    STRING_ELT() can only be applied to a 'character vector', not a 'builtin'
  Calls: poissonMTinitial ... testPathForOutput -> isTRUE -> checkPathForOutput -> qtest
  Execution halted
Running the tests in ‘tests/poissonMTinitialParallel.R’ failed.
Complete output:
  > library(poissonMT)
  Loading required package: MASS
  Loading required package: robustbase
  Loading required package: robcbi
  
  Attaching package: 'robcbi'
  
  The following objects are masked from 'package:stats':
  
      add1, anova, drop1, step, weights
  
  Loading required package: checkmate
  > set.seed(1234)
  > p <- 50
  > beta <- rep(1/p,p)
  > n <- 10*p
  > x <- matrix(rnorm(p*n,0,1), ncol=p)
  > eta <- x%*%beta
  > mu <- exp(eta)
  > y <- rpois(n, mu)
  > 
  > Test <- FALSE
  > if (!Test) {
  +   poissonMTsetwd(tempdir())   
  +   Saved <- poissonMTinitialParallel(x=cbind(1,x), y=y)
  +   dput(Saved, file="poissonMTinitialParallel-savedvalues.R")
  + } else {
  +   poissonMTsetwd(tempdir())  
  +   Saved <- dget(file="poissonMTinitialParallel-savedvalues.R")
  +   Test <- poissonMTinitial(x=cbind(1,x), y=y)
  +   Test1 <- poissonMTinitialParallel(x=cbind(1,x), y=y)
  + ##  Test2 <- poissonMTinitialParallel(x=cbind(1,x), y=y, parallel="multicore", ncpus=2)  
  +   stopifnot(
  +     all.equal(Saved, Test1, tol = 2e-6)
  +   )
  +   stopifnot(
  +     all.equal(Test, Test1, tol = 2e-6)
  +   )
  + }
  Error in qtest(x, "S+") : 
    STRING_ELT() can only be applied to a 'character vector', not a 'raw'
  Calls: poissonMTinitialParallel ... testPathForOutput -> isTRUE -> checkPathForOutput -> qtest
  Execution halted