Running ‘cpp_sa.r’ [8s/12s]
  Running ‘debug_ipu.r’
  Running ‘dontruns.R’ [76s/106s]
  Running ‘mosaicplots.r’
  Running ‘test_simCategorical.r’
  Running ‘test_sprague.R’
Running the tests in ‘tests/cpp_sa.r’ failed.
Complete output:
  > rm(list=ls())
  > library(Rcpp)
  > library(simPop)
  Loading required package: lattice
  Loading required package: vcd
  Loading required package: grid
  Loading required package: data.table
  Package simPop 0.3.0 has been loaded!
  
  > data(eusilcP)
  > data(eusilcS)
  > 
  > ## synth pop:
  > pop <- eusilcP
  > colnames(pop)[3] <- "hhsize"
  > 
  > ## donor data:
  > donors <- sampHH(pop, strata="region", hsize="hhsize")
  > 
  > ## microdata (1) and donor (0)
  > pop <- rbind(pop, donors)
  > pop$weights <- rep(c(1,0), c(nrow(eusilcP), nrow(donors)))
  > pop$new.weights <- pop$weights
  > 
  > index <- pop$weights == 1
  > tab <- table(pop$region[index],pop$gender[index], pop$hhsize[index])
  > 
  > ## create target marginals
  > totals <- tableWt(eusilcS[,c("db040", "rb090","hsize")], weights=eusilcS$rb050)
  > totals <- nrow(pop[index])/sum(totals) * totals
  > totals <- ceiling(totals)
  > totals <- as.data.table(totals)
  > setnames(totals, c("region","gender","hhsize","N"))
  > 
  > data <- data.table(pop, keep.rownames=TRUE)
  > totals <- totals
  > hid <- "hid"
  > parameter <- c("gender","hhsize")
  > split <- "region"
  > temp <- 10
  > eps.factor <-  0.02
  > maxiter <- 250
  > temp.cooldown <- 0.90
  > factor.cooldown <- 0.95
  > min.temp <- 10^-2
  > sample <- TRUE
  > parallel <- TRUE
  > verbose <- FALSE
  > 
  > sourceCpp("src/calibPop.cpp") 
  Error in sourceCpp("src/calibPop.cpp") : 
    file not found: 'src/calibPop.cpp'
  Calls: sourceCpp -> .Call
  In addition: Warning messages:
  1: In normalizePath(dirname(file)) :
    path[1]="src": No such file or directory
  2: In normalizePath(file, winslash = "/") :
    path[1]="src/calibPop.cpp": No such file or directory
  Execution halted
Running the tests in ‘tests/mosaicplots.r’ failed.
Complete output:
  > rm(list=ls())
  > load("eusilcP.rdata")
  Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection
  Calls: load -> readChar
  In addition: Warning message:
  In readChar(con, 5L, useBytes = TRUE) :
    cannot open compressed file 'eusilcP.rdata', probable reason 'No such file or directory'
  Execution halted
Running the tests in ‘tests/test_simCategorical.r’ failed.
Complete output:
  > library(parallel)
  > library(simPopulation)
  Error in library(simPopulation) : 
    there is no package called 'simPopulation'
  Execution halted