* using log directory 'd:/Rcompile/CRANpkg/local/3.6/MBNMAtime.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'MBNMAtime/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'MBNMAtime' version '0.2.0' * 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 'MBNMAtime' can be installed ... OK * checking installed package size ... OK * 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 * 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 ... [15s] OK * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [30s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [91s] ERROR Running 'testthat.R' [91s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(checkmate) > library(testthat) > library(MBNMAtime) Attaching package: 'MBNMAtime' The following object is masked from 'package:base': rank > library(igraph) Attaching package: 'igraph' The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': decompose, spectrum The following object is masked from 'package:base': union > > testthat::test_check("MBNMAtime") Absence of observations with time=0 in network - data assumed to be change from baseline: plotting response=0 at time=0 Absence of observations with time=0 in network - data assumed to be change from baseline: plotting response=0 at time=0 fewer than 3 unique knots. Frequency table of variable: x 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 100 1 == Skipped tests =============================================================== * On CRAN (13) == Failed tests ================================================================ -- Failure (test_prepare.functions.R:130:3): genspline functions correctly ----- c("matrix", "array") not equal to class(bs). Lengths differ: 2 is not 1 -- Failure (test_prepare.functions.R:148:3): genspline functions correctly ----- c("matrix", "array") not equal to class(ls). Lengths differ: 2 is not 1 -- Failure (test_prepare.functions.R:163:3): genspline functions correctly ----- c("matrix", "array") not equal to class(ns). Lengths differ: 2 is not 1 -- Failure (test_prepare.functions.R:181:3): genspline functions correctly ----- c("matrix", "array") not equal to class(rcs). Lengths differ: 2 is not 1 [ FAIL 4 | WARN 0 | SKIP 13 | PASS 182 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [244s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR