* using log directory 'd:/Rcompile/CRANpkg/local/3.5/tramME.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'tramME/DESCRIPTION' ... OK * this is package 'tramME' version '0.0.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'tramME' can be installed ... OK * checking installed package size ... NOTE installed size is 20.6Mb sub-directories of 1Mb or more: libs 19.8Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * loading checks for arch 'i386' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * loading checks for arch 'x64' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [10s] NOTE .nobars: no visible global function definition for 'str2lang' .subbars: no visible global function definition for 'str2lang' .tramME: no visible global function definition for 'str2lang' Undefined global functions or variables: str2lang * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'tramME-Ex.R' failed The error most likely occurred in: > ### Name: VarCorr.LmME > ### Title: Variances and correlation matrices of random effects of an LmME > ### object > ### Aliases: VarCorr.LmME > > ### ** Examples > > data("sleepstudy", package = "lme4") > fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted ** running examples for arch 'x64' ... ERROR Running examples in 'tramME-Ex.R' failed The error most likely occurred in: > ### Name: VarCorr.LmME > ### Title: Variances and correlation matrices of random effects of an LmME > ### object > ### Aliases: VarCorr.LmME > > ### ** Examples > > data("sleepstudy", package = "lme4") > fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [16s] ERROR Running 'LmME.R' [3s] Running 'basics.R' [3s] Running 'methods.R' [3s] Running 'predict.R' [3s] Running 'simulate.R' [3s] Running the tests in 'tests/LmME.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > library("lme4") Loading required package: Matrix > > chktol <- function(x, y, tol = sqrt(.Machine$double.eps)) + stopifnot(isTRUE(all.equal(x, y, tol = tol, check.attributes = FALSE))) > > data("sleepstudy") > > fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted Running the tests in 'tests/basics.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chk <- function(x, y) stopifnot(isTRUE(all.equal(x, y))) > chkerr <- function(expr) inherits(try(expr, silent = TRUE), "try-error") > > ## nofit > library("survival") > data("eortc", package = "coxme") > fit <- CoxphME(Surv(y, uncens) ~ trt, data = eortc, log_first = TRUE, nofit = TRUE) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: CoxphME -> .tramME Execution halted Running the tests in 'tests/methods.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chktol <- function(x, y, tol = sqrt(.Machine$double.eps)) + stopifnot(isTRUE(all.equal(x, y, tolerance = tol, check.attributes = FALSE))) > > chkerr <- function(expr) inherits(try(expr, silent = TRUE), "try-error") > > ## covariance matrix of the parameters > data("sleepstudy", package = "lme4") > fit <- BoxCoxME(Reaction ~ Days + (Days | Subject), data = sleepstudy, order = 5) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: BoxCoxME -> .tramME Execution halted Running the tests in 'tests/predict.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chk <- function(x, y) stopifnot(isTRUE(all.equal(x, y, check.attributes = FALSE))) > > ## structure of the output > data("sleepstudy", package = "lme4") > fit <- LmME(Reaction ~ Days + (1 | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted Running the tests in 'tests/simulate.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chk <- function(x, y, ...) stopifnot(isTRUE(all.equal(x, y, ...))) > chkerr <- function(x) inherits(try(x), "try-error") > > ## structure of the output > data("sleepstudy", package = "lme4") > fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted ** running tests for arch 'x64' ... [15s] ERROR Running 'LmME.R' [3s] Running 'basics.R' [3s] Running 'methods.R' [3s] Running 'predict.R' [3s] Running 'simulate.R' [3s] Running the tests in 'tests/LmME.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > library("lme4") Loading required package: Matrix > > chktol <- function(x, y, tol = sqrt(.Machine$double.eps)) + stopifnot(isTRUE(all.equal(x, y, tol = tol, check.attributes = FALSE))) > > data("sleepstudy") > > fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted Running the tests in 'tests/basics.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chk <- function(x, y) stopifnot(isTRUE(all.equal(x, y))) > chkerr <- function(expr) inherits(try(expr, silent = TRUE), "try-error") > > ## nofit > library("survival") > data("eortc", package = "coxme") > fit <- CoxphME(Surv(y, uncens) ~ trt, data = eortc, log_first = TRUE, nofit = TRUE) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: CoxphME -> .tramME Execution halted Running the tests in 'tests/methods.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chktol <- function(x, y, tol = sqrt(.Machine$double.eps)) + stopifnot(isTRUE(all.equal(x, y, tolerance = tol, check.attributes = FALSE))) > > chkerr <- function(expr) inherits(try(expr, silent = TRUE), "try-error") > > ## covariance matrix of the parameters > data("sleepstudy", package = "lme4") > fit <- BoxCoxME(Reaction ~ Days + (Days | Subject), data = sleepstudy, order = 5) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: BoxCoxME -> .tramME Execution halted Running the tests in 'tests/predict.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chk <- function(x, y) stopifnot(isTRUE(all.equal(x, y, check.attributes = FALSE))) > > ## structure of the output > data("sleepstudy", package = "lme4") > fit <- LmME(Reaction ~ Days + (1 | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted Running the tests in 'tests/simulate.R' failed. Complete output: > library("tramME") Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables > > chk <- function(x, y, ...) stopifnot(isTRUE(all.equal(x, y, ...))) > chkerr <- function(x) inherits(try(x), "try-error") > > ## structure of the output > data("sleepstudy", package = "lme4") > fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) Error in str2lang(paste0("tram::", fname)) : could not find function "str2lang" Calls: LmME -> .tramME Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [7s] WARNING Error in re-building vignettes: ... Loading required package: tram Loading required package: mlt Loading required package: basefun Loading required package: variables Attaching package: 'ggplot2' The following object is masked from 'package:variables': unit Loading required package: Matrix Quitting from lines 409-412 (tramME.Rnw) Error: processing vignette 'tramME.Rnw' failed with diagnostics: could not find function "str2lang" Execution halted * checking PDF version of manual ... OK * DONE Status: 4 ERRORs, 1 WARNING, 2 NOTEs