Running ‘test-add_sim_index_number.R’ [0s/0s]
  Running ‘test-filter_dv.R’ [0s/0s]
  Running ‘test-labeller.R’ [1s/1s]
  Running ‘test-softwaretype.R’ [0s/0s]
  Running ‘test-strat-col-detection.R’ [0s/0s]
  Running ‘test-vpc.R’ [0s/1s]
  Running ‘test-vpc_cat.R’ [1s/1s]
  Running ‘test-vpc_cens.R’ [0s/0s]
  Running ‘test-vpc_tte.R’ [1s/1s]
Running the tests in ‘tests/test-add_sim_index_number.R’ failed.
Complete output:
  > library(dplyr)
  Error: package or namespace load failed for 'dplyr' in dyn.load(file, DLLpath = DLLpath, ...):
   unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rlang/libs/rlang.so':
    /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rlang/libs/rlang.so: failed to map segment from shared object
  Execution halted
Running the tests in ‘tests/test-labeller.R’ failed.
Complete output:
  > library(vpc)
  > library(testit)
  > Sys.setenv("R_TESTS" = "")
  > 
  > tmp <- simple_data
  > sex <- (tmp$obs$ID) %% 2
  > race <- (tmp$obs$ID) %% 3
  > tmp$obs$sex <- sex
  > tmp$obs$race <- race
  > tmp$sim$sex <- sex
  > tmp$sim$race <- race
  > 
  > v1 <- vpc(sim = tmp$sim, obs = tmp$obs, stratify = "race",
  +           facet = "wrap", vpcdb = F, labeller = ggplot2::label_both)
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so':
    /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so: failed to map segment from shared object
  Calls: vpc -> vpc.default -> do.call -> <Anonymous> -> auto_bin
  Execution halted
Running the tests in ‘tests/test-vpc.R’ failed.
Complete output:
  > library(vpc)
  > library(testit)
  > Sys.setenv("R_TESTS" = "")
  > 
  > tmp <- simple_data
  > obj <- vpc(sim = tmp$sim, obs = tmp$obs, vpcdb=TRUE)
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so':
    /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so: failed to map segment from shared object
  Calls: vpc -> vpc.default -> do.call -> <Anonymous> -> auto_bin
  Execution halted
Running the tests in ‘tests/test-vpc_cat.R’ failed.
Complete output:
  > library(vpc)
  > library(testit)
  > Sys.setenv("R_TESTS" = "")
  > 
  > tmp <- simple_data
  > cat <- cut(tmp$obs$DV, breaks = c(-1, 10, 40, 1000))
  > tmp$obs$DV <- match(cat, levels(cat))
  > cat2 <- cut(tmp$sim$DV, breaks = c(-1, 10, 40, 1000))
  > tmp$sim$DV <- match(cat2, levels(cat2))
  > obj <- vpc_cat(sim = tmp$sim, obs = tmp$obs, vpcdb = TRUE)
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so':
    /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so: failed to map segment from shared object
  Calls: vpc_cat -> auto_bin
  Execution halted
Running the tests in ‘tests/test-vpc_cens.R’ failed.
Complete output:
  > library(vpc)
  > library(testit)
  > Sys.setenv("R_TESTS" = "")
  > 
  > ## Test regular vpc in presence of lloq / uloq data
  > obj1 <- vpc(sim = vpc::simple_data$sim, obs = vpc::simple_data$obs, uloq = 120, vpcdb = TRUE)
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so':
    /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/class/libs/class.so: failed to map segment from shared object
  Calls: vpc -> vpc.default -> do.call -> <Anonymous> -> auto_bin
  Execution halted
Running the tests in ‘tests/test-vpc_tte.R’ failed.
Complete output:
  > library(vpc)
  > library(testit)
  > Sys.setenv("R_TESTS" = "")
  > 
  > ## Test for bug AR 20171025 column name simulation dataset
  > test <- vpc::rtte_sim_nm[1:200000,]
  > test$bla <- test$t
  > test$t <- NULL
  > obj <- vpc_tte(sim = test,  # stratified for covariate and study arm
  +                obs = vpc::rtte_obs_nm, 
  +                rtte = FALSE,
  +                sim_cols = list(dv = "dv", idv = "bla"), 
  +                obs_cols = list(idv = "t"),
  +                labeller = ggplot2::label_both)
  Initializing.
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rlang/libs/rlang.so':
    /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rlang/libs/rlang.so: failed to map segment from shared object
  Calls: vpc_tte ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
  Execution halted