Last updated on 2020-04-09 09:48:06 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.0.2 | 210.08 | 90.76 | 300.84 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 2.0.2 | 153.22 | 71.22 | 224.44 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 2.0.2 | 440.63 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 2.0.2 | 412.79 | ERROR | |||
r-devel-windows-ix86+x86_64 | 2.0.2 | 357.00 | 154.00 | 511.00 | ERROR | |
r-devel-windows-ix86+x86_64-gcc8 | 2.0.2 | 362.00 | 154.00 | 516.00 | ERROR | |
r-patched-linux-x86_64 | 2.0.2 | 167.03 | 87.41 | 254.44 | ERROR | |
r-patched-osx-x86_64 | 2.0.2 | ERROR | ||||
r-patched-solaris-x86 | 2.0.2 | 383.70 | ERROR | |||
r-release-linux-x86_64 | 2.0.2 | 169.02 | 81.41 | 250.43 | OK | |
r-release-windows-ix86+x86_64 | 2.0.2 | 408.00 | 204.00 | 612.00 | OK | |
r-release-osx-x86_64 | 2.0.2 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 2.0.2 | 499.00 | 196.00 | 695.00 | OK | |
r-oldrel-osx-x86_64 | 2.0.2 | NOTE |
Version: 2.0.2
Check: tests
Result: ERROR
Running 'testthat.R' [17s/19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -578.668
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -573.942
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -590.902
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.175
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -587.057
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.432
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -577.729
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -611.017
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -594.266
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -594.057
AvgPred = -588.324 with stdev = 10.7386
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -579.005
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -573.501
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -593.578
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -583.972
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -589.141
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -598.568
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -579.41
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -611.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -595.563
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -596.237
AvgPred = -590.035 with stdev = 10.7482
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -579.265
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -575.14
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -588.558
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -574.136
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -588.009
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -595.77
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -576.398
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -612.9
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -594.761
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -591.299
AvgPred = -587.624 with stdev = 11.421
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -584.521
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -578.463
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -592.864
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -581.751
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -596.902
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -604.67
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -581.532
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -619.348
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -598.041
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -593.315
AvgPred = -593.141 with stdev = 11.8836
Completed at 0.001
Next point at 0.0549544 with value -587.448 and continue = 0
search[ 0.001 ] = -593.141(11.8836)
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Maximum predicted log likelihood (-587.448) estimated at:
0.0549544 (variance)
6.03273 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(6.03273) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1586278237] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -2.77056
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -7.52074
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -9.40993
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -5.31322
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -4.84215
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -2.95363
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -15.8476
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.5005 with stdev = 4.96511
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.5005(4.96511)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -3.50399
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -9.66602
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -9.85812
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -5.39944
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -4.90175
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -16.7877
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -3.10645
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -15.784
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.12153 with stdev = 5.42583
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.5005(4.96511)
search[ 3.33333 ] = -7.12153(5.42583)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -2.38933
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -8.2011
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -5.03781
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -8.56408
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -2.83787
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.714 with stdev = 4.63275
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.714(4.63275)
search[ 0.333333 ] = -6.5005(4.96511)
search[ 3.33333 ] = -7.12153(5.42583)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -2.40093
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -5.61865
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.7731 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00422233 with value -5.71924 and continue = 0
search[ 0.00333333 ] = -5.7731(4.9802)
search[ 0.0333333 ] = -5.714(4.63275)
search[ 0.333333 ] = -6.5005(4.96511)
search[ 3.33333 ] = -7.12153(5.42583)
Maximum predicted log likelihood (-5.71924) estimated at:
0.00422233 (variance)
21.764 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.764) None
-- 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) -----------
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
-- 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) -----------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) -----------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ---------------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ---------------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ---------------
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
== testthat results ===========================================================
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 2.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -578.668
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -573.942
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -590.902
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.175
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -587.057
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.432
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -577.729
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -611.017
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -594.266
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -594.057
AvgPred = -588.324 with stdev = 10.7386
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -579.005
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -573.501
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -593.578
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -583.972
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -589.141
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -598.568
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -579.41
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -611.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -595.563
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -596.237
AvgPred = -590.035 with stdev = 10.7482
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -579.265
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -575.14
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -588.558
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -574.136
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -588.009
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -595.77
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -576.398
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -612.9
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -594.761
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -591.299
AvgPred = -587.624 with stdev = 11.421
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -584.521
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -578.463
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -592.864
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -581.751
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -596.902
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -604.67
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -581.532
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -619.348
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -598.041
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -593.315
AvgPred = -593.141 with stdev = 11.8836
Completed at 0.001
Next point at 0.0549544 with value -587.448 and continue = 0
search[ 0.001 ] = -593.141(11.8836)
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Maximum predicted log likelihood (-587.448) estimated at:
0.0549544 (variance)
6.03273 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(6.03273) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1586359459] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -2.77056
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -5.31322
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -2.95369
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -4.84229
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -9.40993
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -7.51895
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -15.8475
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.50033 with stdev = 4.96505
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50033(4.96505)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -3.50399
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -5.39945
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -3.1064
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -16.7876
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -4.90174
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -9.85815
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -9.66591
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -15.7629
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.1194 with stdev = 5.42246
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50033(4.96505)
search[ 3.33333 ] = -7.1194(5.42246)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -2.38933
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -2.83786
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -8.56491
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -5.03779
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -8.2011
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.71408 with stdev = 4.6328
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.71408(4.6328)
search[ 0.333333 ] = -6.50033(4.96505)
search[ 3.33333 ] = -7.1194(5.42246)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -2.40093
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -3.17614
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -2.43581
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -5.61869
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.77311 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00420099 with value -5.71926 and continue = 0
search[ 0.00333333 ] = -5.77311(4.9802)
search[ 0.0333333 ] = -5.71408(4.6328)
search[ 0.333333 ] = -6.50033(4.96505)
search[ 3.33333 ] = -7.1194(5.42246)
Maximum predicted log likelihood (-5.71926) estimated at:
0.00420099 (variance)
21.8192 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.8192) None
── 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) ───────────
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
── 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) ───────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) ───────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ───────────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ───────────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ───────────────
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.0.2
Check: package dependencies
Result: WARN
Requires orphaned package: ‘bit’
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.0.2
Check: installed package size
Result: NOTE
installed size is 27.0Mb
sub-directories of 1Mb or more:
libs 26.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64-gcc8, r-patched-osx-x86_64, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64
Version: 2.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [18s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -592.9
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -601.081
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -599.641
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -574.165
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -603.109
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -577.038
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -579.617
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -574.139
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -585.025
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -594.685
AvgPred = -588.14 with stdev = 10.8916
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.14(10.8916)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -594.279
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -601.346
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -603.591
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -578.205
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -603.804
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -577.407
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -581.721
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -578.157
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -586.404
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -597.769
AvgPred = -590.268 with stdev = 10.4946
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.14(10.8916)
search[ 1 ] = -590.268(10.4946)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -592.323
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -604.374
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -596.081
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -572.406
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -603.71
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -577.372
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -577.208
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -572.442
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -585.33
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -594.139
AvgPred = -587.538 with stdev = 11.6458
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.538(11.6458)
search[ 0.1 ] = -588.14(10.8916)
search[ 1 ] = -590.268(10.4946)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -596.137
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -613.325
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -601.605
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -577.932
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -605.861
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -584.422
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -581.158
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -579.934
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -590.138
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -600.442
AvgPred = -593.096 with stdev = 11.565
Completed at 0.001
Next point at 0.0510146 with value -587.304 and continue = 0
search[ 0.001 ] = -593.096(11.565)
search[ 0.01 ] = -587.538(11.6458)
search[ 0.1 ] = -588.14(10.8916)
search[ 1 ] = -590.268(10.4946)
Maximum predicted log likelihood (-587.304) estimated at:
0.0510146 (variance)
6.26134 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(6.26134) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1585983417] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -4.84214
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -2.77049
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -2.95361
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -5.31323
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -9.40993
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -7.51895
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -15.8475
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.5003 with stdev = 4.96507
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.5003(4.96507)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -4.90173
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -3.50399
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -3.10731
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -5.39945
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -9.85805
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -9.66591
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -15.7629
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -16.7877
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.11949 with stdev = 5.42239
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.5003(4.96507)
search[ 3.33333 ] = -7.11949(5.42239)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -5.03785
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -2.38932
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -2.83786
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -8.20108
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -8.56407
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.714 with stdev = 4.63275
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.714(4.63275)
search[ 0.333333 ] = -6.5003(4.96507)
search[ 3.33333 ] = -7.11949(5.42239)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -5.61866
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -2.40094
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.7731 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00420381 with value -5.71924 and continue = 0
search[ 0.00333333 ] = -5.7731(4.9802)
search[ 0.0333333 ] = -5.714(4.63275)
search[ 0.333333 ] = -6.5003(4.96507)
search[ 3.33333 ] = -7.11949(5.42239)
Maximum predicted log likelihood (-5.71924) estimated at:
0.00420381 (variance)
21.8119 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.8119) None
── 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) ───────────
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
── 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) ───────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) ───────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ───────────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ───────────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ───────────────
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [19s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -578.668
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -573.942
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -590.902
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.175
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -587.057
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.432
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -577.729
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -611.017
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -594.266
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -594.057
AvgPred = -588.324 with stdev = 10.7386
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -579.005
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -573.501
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -593.578
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -583.972
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -589.141
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -598.568
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -579.41
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -611.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -595.563
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -596.237
AvgPred = -590.035 with stdev = 10.7482
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -579.265
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -575.14
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -588.558
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -574.136
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -588.009
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -595.77
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -576.398
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -612.9
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -594.761
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -591.299
AvgPred = -587.624 with stdev = 11.421
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -584.521
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -578.463
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -592.864
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -581.751
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -596.902
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -604.67
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -581.532
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -619.348
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -598.041
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -593.315
AvgPred = -593.141 with stdev = 11.8836
Completed at 0.001
Next point at 0.0549544 with value -587.448 and continue = 0
search[ 0.001 ] = -593.141(11.8836)
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Maximum predicted log likelihood (-587.448) estimated at:
0.0549544 (variance)
6.03273 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(6.03273) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1586084157] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -7.51556
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -2.77056
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -5.31322
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -15.8482
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -9.40992
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -4.84215
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -2.95363
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.50003 with stdev = 4.96511
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50003(4.96511)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -9.66612
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -3.50408
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -16.7879
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -5.39946
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -15.7841
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -9.85796
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -4.90174
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -3.10647
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.12156 with stdev = 5.42587
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50003(4.96511)
search[ 3.33333 ] = -7.12156(5.42587)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -2.38933
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -8.5641
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -4.23478
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -8.20115
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -2.22487
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -5.0378
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -2.83785
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.71401 with stdev = 4.63275
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.71401(4.63275)
search[ 0.333333 ] = -6.50003(4.96511)
search[ 3.33333 ] = -7.12156(5.42587)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -2.40093
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -5.61865
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.7731 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00423261 with value -5.71928 and continue = 0
search[ 0.00333333 ] = -5.7731(4.9802)
search[ 0.0333333 ] = -5.71401(4.63275)
search[ 0.333333 ] = -6.50003(4.96511)
search[ 3.33333 ] = -7.12156(5.42587)
Maximum predicted log likelihood (-5.71928) estimated at:
0.00423261 (variance)
21.7376 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.7376) None
── 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) ───────────
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
── 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) ───────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) ───────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ───────────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ───────────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ───────────────
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.0.2
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -585.503
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -596.13
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -594.388
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.469
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -609.78
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.728
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -590.234
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -569.379
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -590.255
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -569.965
AvgPred = -588.183 with stdev = 11.9089
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.183(11.9089)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -587.413
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -596.812
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -596.513
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -580.658
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -611.455
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -597.123
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -591.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -569.712
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -593.857
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -574.289
AvgPred = -589.921 with stdev = 11.7004
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -583.59
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -597.107
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -593.164
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -577.713
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -610.25
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -596.412
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -591.679
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -570.174
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -588.619
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -568.46
AvgPred = -587.717 with stdev = 12.3021
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.717(12.3021)
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -594.3
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -600.43
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -596.386
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -585.184
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -616.545
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -597.987
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -594.794
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -574.862
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -594.09
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -578.678
AvgPred = -593.326 with stdev = 11.1631
Completed at 0.001
Next point at 0.0586225 with value -587.372 and continue = 0
search[ 0.001 ] = -593.326(11.1631)
search[ 0.01 ] = -587.717(12.3021)
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Maximum predicted log likelihood (-587.372) estimated at:
0.0586225 (variance)
5.84094 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(5.84094) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1586174999] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -2.77056
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -5.31322
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -7.51898
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -4.84229
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -9.40993
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -15.8481
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -2.9539
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.50041 with stdev = 4.96515
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50041(4.96515)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -3.50399
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -5.39945
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -9.66811
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -16.7877
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -4.90174
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -9.85815
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -15.784
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -3.1064
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.12173 with stdev = 5.42593
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50041(4.96515)
search[ 3.33333 ] = -7.12173(5.42593)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -2.38933
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -8.56421
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -5.03779
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -8.2011
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -2.83786
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.71401 with stdev = 4.63276
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.71401(4.63276)
search[ 0.333333 ] = -6.50041(4.96515)
search[ 3.33333 ] = -7.12173(5.42593)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -2.40093
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -5.61869
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.7731 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00422633 with value -5.71926 and continue = 0
search[ 0.00333333 ] = -5.7731(4.9802)
search[ 0.0333333 ] = -5.71401(4.63276)
search[ 0.333333 ] = -6.50041(4.96515)
search[ 3.33333 ] = -7.12173(5.42593)
Maximum predicted log likelihood (-5.71926) estimated at:
0.00422633 (variance)
21.7537 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.7537) None
-- 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) -----------
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
-- 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) -----------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) -----------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ---------------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ---------------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ---------------
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
== testthat results ===========================================================
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 2.0.2
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testthat.R' [16s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -585.503
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -596.13
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -594.388
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.469
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -609.78
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.728
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -590.234
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -569.379
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -590.255
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -569.965
AvgPred = -588.183 with stdev = 11.9089
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.183(11.9089)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -587.413
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -596.812
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -596.513
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -580.658
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -611.455
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -597.123
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -591.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -569.712
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -593.857
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -574.289
AvgPred = -589.921 with stdev = 11.7004
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -583.59
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -597.107
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -593.164
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -577.713
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -610.25
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -596.412
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -591.679
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -570.174
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -588.619
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -568.46
AvgPred = -587.717 with stdev = 12.3021
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.717(12.3021)
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -594.3
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -600.43
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -596.386
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -585.184
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -616.545
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -597.987
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -594.794
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -574.862
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -594.09
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -578.678
AvgPred = -593.326 with stdev = 11.1631
Completed at 0.001
Next point at 0.0586225 with value -587.372 and continue = 0
search[ 0.001 ] = -593.326(11.1631)
search[ 0.01 ] = -587.717(12.3021)
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Maximum predicted log likelihood (-587.372) estimated at:
0.0586225 (variance)
5.84094 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(5.84094) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1586175016] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -4.84214
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -15.8475
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -9.40992
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -2.77048
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -7.52074
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -2.95363
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -5.31323
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.50048 with stdev = 4.9651
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50048(4.9651)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -4.90173
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -15.7839
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -9.85796
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -3.50395
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -9.66602
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -3.10645
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -5.39945
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -16.7877
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.1215 with stdev = 5.42581
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50048(4.9651)
search[ 3.33333 ] = -7.1215(5.42581)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -5.03785
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -8.20115
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -2.38932
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -2.83787
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -8.56418
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.71402 with stdev = 4.63276
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.71402(4.63276)
search[ 0.333333 ] = -6.50048(4.9651)
search[ 3.33333 ] = -7.1215(5.42581)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -5.61866
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -2.40094
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.7731 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00422202 with value -5.71925 and continue = 0
search[ 0.00333333 ] = -5.7731(4.9802)
search[ 0.0333333 ] = -5.71402(4.63276)
search[ 0.333333 ] = -6.50048(4.9651)
search[ 3.33333 ] = -7.1215(5.42581)
Maximum predicted log likelihood (-5.71925) estimated at:
0.00422202 (variance)
21.7648 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.7648) None
-- 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) -----------
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
-- 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) -----------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) -----------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ---------------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ---------------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ---------------
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
== testthat results ===========================================================
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 2.0.2
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -578.668
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -573.942
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -590.902
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.175
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -587.057
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.432
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -577.729
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -611.017
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -594.266
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -594.057
AvgPred = -588.324 with stdev = 10.7386
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -579.005
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -573.501
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -593.578
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -583.972
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -589.141
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -598.568
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -579.41
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -611.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -595.563
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -596.237
AvgPred = -590.035 with stdev = 10.7482
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -579.265
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -575.14
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -588.558
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -574.136
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -588.009
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -595.77
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -576.398
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -612.9
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -594.761
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -591.299
AvgPred = -587.624 with stdev = 11.421
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -584.521
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -578.463
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -592.864
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -581.751
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -596.902
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -604.67
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -581.532
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -619.348
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -598.041
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -593.315
AvgPred = -593.141 with stdev = 11.8836
Completed at 0.001
Next point at 0.0549544 with value -587.448 and continue = 0
search[ 0.001 ] = -593.141(11.8836)
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Maximum predicted log likelihood (-587.448) estimated at:
0.0549544 (variance)
6.03273 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(6.03273) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1585408600] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -2.77049
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -2.95361
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -15.8476
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -9.40992
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -4.84215
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -5.31322
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -7.51898
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.50031 with stdev = 4.96508
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50031(4.96508)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -3.50399
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -3.10731
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -15.784
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -9.85796
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -4.90173
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -16.7877
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -5.39946
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -9.66811
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.12181 with stdev = 5.42586
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50031(4.96508)
search[ 3.33333 ] = -7.12181(5.42586)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -2.38932
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -2.83786
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -8.20115
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -5.03777
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -8.56408
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -4.23478
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.71401 with stdev = 4.63275
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.71401(4.63275)
search[ 0.333333 ] = -6.50031(4.96508)
search[ 3.33333 ] = -7.12181(5.42586)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -2.40094
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -5.61869
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.77311 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00422948 with value -5.71926 and continue = 0
search[ 0.00333333 ] = -5.77311(4.9802)
search[ 0.0333333 ] = -5.71401(4.63275)
search[ 0.333333 ] = -6.50031(4.96508)
search[ 3.33333 ] = -7.12181(5.42586)
Maximum predicted log likelihood (-5.71926) estimated at:
0.00422948 (variance)
21.7456 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.7456) None
-- 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) -----------
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
-- 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) -----------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) -----------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ---------------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ---------------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ---------------
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
== testthat results ===========================================================
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8
Version: 2.0.2
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -578.668
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -573.942
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -590.902
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.175
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -587.057
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.432
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -577.729
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -611.017
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -594.266
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -594.057
AvgPred = -588.324 with stdev = 10.7386
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -579.005
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -573.501
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -593.578
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -583.972
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -589.141
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -598.568
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -579.41
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -611.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -595.563
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -596.237
AvgPred = -590.035 with stdev = 10.7482
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -579.265
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -575.14
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -588.558
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -574.136
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -588.009
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -595.77
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -576.398
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -612.9
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -594.761
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -591.299
AvgPred = -587.624 with stdev = 11.421
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -584.521
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -578.463
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -592.864
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -581.751
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -596.902
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -604.67
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -581.532
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -619.348
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -598.041
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -593.315
AvgPred = -593.141 with stdev = 11.8836
Completed at 0.001
Next point at 0.0549544 with value -587.448 and continue = 0
search[ 0.001 ] = -593.141(11.8836)
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Maximum predicted log likelihood (-587.448) estimated at:
0.0549544 (variance)
6.03273 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(6.03273) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1585408616] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -7.51556
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -4.84214
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -2.77047
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -9.40993
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -5.31322
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -2.95363
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -15.8476
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.49996 with stdev = 4.965
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.49996(4.965)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -9.66612
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -4.90184
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -3.50398
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -7.7905
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -5.39945
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -3.10645
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -16.7876
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -15.784
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.91479 with stdev = 5.35657
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.49996(4.965)
search[ 3.33333 ] = -6.91479(5.35657)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -5.03782
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -2.38932
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -8.20109
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -2.83787
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -8.56491
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.71409 with stdev = 4.6328
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.71409(4.6328)
search[ 0.333333 ] = -6.49996(4.965)
search[ 3.33333 ] = -6.91479(5.35657)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -5.61866
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -2.40094
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.7731 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00197988 with value -5.70421 and continue = 0
search[ 0.00333333 ] = -5.7731(4.9802)
search[ 0.0333333 ] = -5.71409(4.6328)
search[ 0.333333 ] = -6.49996(4.965)
search[ 3.33333 ] = -6.91479(5.35657)
Maximum predicted log likelihood (-5.70421) estimated at:
0.00197988 (variance)
31.7831 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(31.7831) None
-- 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) -----------
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
-- 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) -----------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) -----------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ---------------
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
-- 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ---------------
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
-- 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ---------------
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
== testthat results ===========================================================
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8
Version: 2.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -578.668
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -573.942
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -590.902
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.175
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -587.057
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.432
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -577.729
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -611.017
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -594.266
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -594.057
AvgPred = -588.324 with stdev = 10.7386
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -579.005
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -573.501
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -593.578
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -583.972
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -589.141
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -598.568
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -579.41
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -611.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -595.563
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -596.237
AvgPred = -590.035 with stdev = 10.7482
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -579.265
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -575.14
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -588.558
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -574.136
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -588.009
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -595.77
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -576.398
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -612.9
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -594.761
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -591.299
AvgPred = -587.624 with stdev = 11.421
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -584.521
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -578.463
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -592.864
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -581.751
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -596.902
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -604.67
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -581.532
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -619.348
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -598.041
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -593.315
AvgPred = -593.141 with stdev = 11.8836
Completed at 0.001
Next point at 0.0549544 with value -587.448 and continue = 0
search[ 0.001 ] = -593.141(11.8836)
search[ 0.01 ] = -587.624(11.421)
search[ 0.1 ] = -588.324(10.7386)
search[ 1 ] = -590.035(10.7482)
Maximum predicted log likelihood (-587.448) estimated at:
0.0549544 (variance)
6.03273 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(6.03273) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1586334486] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -2.77056
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -5.31322
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -4.84229
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -7.51909
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -2.95363
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -9.40993
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -15.8481
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.5004 with stdev = 4.96517
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.5004(4.96517)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -3.50399
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -5.39945
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -16.7877
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -4.90174
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -9.6661
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -3.10646
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -9.85815
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -15.784
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.12154 with stdev = 5.42583
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.5004(4.96517)
search[ 3.33333 ] = -7.12154(5.42583)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -2.38933
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -8.56418
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -5.03779
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -2.8379
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -8.20109
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.71401 with stdev = 4.63275
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.71401(4.63275)
search[ 0.333333 ] = -6.5004(4.96517)
search[ 3.33333 ] = -7.12154(5.42583)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -2.40093
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -3.17614
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -5.61869
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -2.43581
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.77311 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00422463 with value -5.71926 and continue = 0
search[ 0.00333333 ] = -5.77311(4.9802)
search[ 0.0333333 ] = -5.71401(4.63275)
search[ 0.333333 ] = -6.5004(4.96517)
search[ 3.33333 ] = -7.12154(5.42583)
Maximum predicted log likelihood (-5.71926) estimated at:
0.00422463 (variance)
21.7581 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.7581) None
── 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) ───────────
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
── 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) ───────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) ───────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ───────────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ───────────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ───────────────
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-linux-x86_64
Version: 2.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-osx-x86_64
Version: 2.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [29s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("Cyclops")
Loading required package: Cyclops
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId and rowId
Sorting outcomes by stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 76.245 %
Sorting covariates by covariateId, stratumId and rowId
Sorting covariates by covariateId, stratumId, and rowId
Sorting outcomes by stratumId, time (descending), y, and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.76 %
Sorting covariates by covariateId, rowId
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 75.61 %
Sorting covariates by covariateId and rowId
Sparseness = 75.695 %
Sorting covariates by covariateId and rowId
Sparseness = 75.3 %
Sorting covariates by covariateId and rowId
Sparseness = 76.55 %
Sorting covariates by covariateId and rowId
Sparseness = 99.012 %
Sorting outcomes by stratumId, time (descending), y and rowId
Sorting covariates by covariateId, stratumId, time (descending), y, and rowId
Sparseness = 98.0118 %
Sorting covariates by covariateId and rowId
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 123] with data partitions of sizes 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Using 1 thread(s)
Starting var = 0.1
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #1 Rep #1 pred log like = -585.503
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #2 Rep #1 pred log like = -596.13
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #3 Rep #1 pred log like = -594.388
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #4 Rep #1 pred log like = -579.469
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #5 Rep #1 pred log like = -609.78
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #6 Rep #1 pred log like = -596.728
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #7 Rep #1 pred log like = -590.234
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #8 Rep #1 pred log like = -569.379
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #9 Rep #1 pred log like = -590.255
Running at Laplace(4.47214) None Grid-point #1 at 0.1 Fold #10 Rep #1 pred log like = -569.965
AvgPred = -588.183 with stdev = 11.9089
Completed at 0.1
Next point at 1 with value 0 and continue = 1
search[ 0.1 ] = -588.183(11.9089)
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #1 Rep #1 pred log like = -587.413
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #2 Rep #1 pred log like = -596.812
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #3 Rep #1 pred log like = -596.513
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #4 Rep #1 pred log like = -580.658
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #5 Rep #1 pred log like = -611.455
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #6 Rep #1 pred log like = -597.123
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #7 Rep #1 pred log like = -591.374
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #8 Rep #1 pred log like = -569.712
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #9 Rep #1 pred log like = -593.857
Running at Laplace(1.41421) None Grid-point #2 at 1 Fold #10 Rep #1 pred log like = -574.289
AvgPred = -589.921 with stdev = 11.7004
Completed at 1
Next point at 0.01 with value 0 and continue = 1
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #1 Rep #1 pred log like = -583.59
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #2 Rep #1 pred log like = -597.107
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #3 Rep #1 pred log like = -593.164
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #4 Rep #1 pred log like = -577.713
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #5 Rep #1 pred log like = -610.25
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #6 Rep #1 pred log like = -596.412
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #7 Rep #1 pred log like = -591.679
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #8 Rep #1 pred log like = -570.174
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #9 Rep #1 pred log like = -588.619
Running at Laplace(14.1421) None Grid-point #3 at 0.01 Fold #10 Rep #1 pred log like = -568.46
AvgPred = -587.717 with stdev = 12.3021
Completed at 0.01
Next point at 0.001 with value 0 and continue = 1
search[ 0.01 ] = -587.717(12.3021)
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #1 Rep #1 pred log like = -594.3
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #2 Rep #1 pred log like = -600.43
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #3 Rep #1 pred log like = -596.386
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #4 Rep #1 pred log like = -585.184
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #5 Rep #1 pred log like = -616.545
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #6 Rep #1 pred log like = -597.987
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #7 Rep #1 pred log like = -594.794
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #8 Rep #1 pred log like = -574.862
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #9 Rep #1 pred log like = -594.09
Running at Laplace(44.7214) None Grid-point #4 at 0.001 Fold #10 Rep #1 pred log like = -578.678
AvgPred = -593.326 with stdev = 11.1631
Completed at 0.001
Next point at 0.0586225 with value -587.372 and continue = 0
search[ 0.001 ] = -593.326(11.1631)
search[ 0.01 ] = -587.717(12.3021)
search[ 0.1 ] = -588.183(11.9089)
search[ 1 ] = -589.921(11.7004)
Maximum predicted log likelihood (-587.372) estimated at:
0.0586225 (variance)
5.84094 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(5.84094) None
Using cross-validation selector type byRow
Performing 10-fold cross-validation [seed = 1585390533] with data partitions of sizes 1 1 1 1 1 1 1 1 1 0
Using 1 thread(s)
Starting var = 0.333333 (default)
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #1 Rep #1 pred log like = -2.20943
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #2 Rep #1 pred log like = -4.84215
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #3 Rep #1 pred log like = -14.1377
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #4 Rep #1 pred log like = -2.77055
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #5 Rep #1 pred log like = -2.95361
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #6 Rep #1 pred log like = -5.31323
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #7 Rep #1 pred log like = -9.40993
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #8 Rep #1 pred log like = -15.8481
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #9 Rep #1 pred log like = -7.51911
Running at Laplace(2.44949) None Grid-point #1 at 0.333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -6.50038 with stdev = 4.96518
Completed at 0.333333
Next point at 3.33333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50038(4.96518)
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #1 Rep #1 pred log like = -2.20787
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #2 Rep #1 pred log like = -4.90174
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #3 Rep #1 pred log like = -16.7877
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #4 Rep #1 pred log like = -3.50648
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #5 Rep #1 pred log like = -3.10731
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #6 Rep #1 pred log like = -5.39945
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #7 Rep #1 pred log like = -9.85805
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #8 Rep #1 pred log like = -15.784
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #9 Rep #1 pred log like = -9.67073
Running at Laplace(0.774597) None Grid-point #2 at 3.33333 Fold #10 Rep #1 pred log like = 0
AvgPred = -7.12233 with stdev = 5.42582
Completed at 3.33333
Next point at 0.0333333 with value 0 and continue = 1
search[ 0.333333 ] = -6.50038(4.96518)
search[ 3.33333 ] = -7.12233(5.42582)
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #1 Rep #1 pred log like = -2.22488
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #2 Rep #1 pred log like = -5.0378
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #3 Rep #1 pred log like = -8.56408
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #4 Rep #1 pred log like = -2.38933
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #5 Rep #1 pred log like = -2.83786
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #6 Rep #1 pred log like = -4.23476
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #7 Rep #1 pred log like = -8.20108
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #8 Rep #1 pred log like = -17.2486
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #9 Rep #1 pred log like = -6.4016
Running at Laplace(7.74597) None Grid-point #3 at 0.0333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.714 with stdev = 4.63275
Completed at 0.0333333
Next point at 0.00333333 with value 0 and continue = 1
search[ 0.0333333 ] = -5.714(4.63275)
search[ 0.333333 ] = -6.50038(4.96518)
search[ 3.33333 ] = -7.12233(5.42582)
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #1 Rep #1 pred log like = -2.59079
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #2 Rep #1 pred log like = -5.61865
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #3 Rep #1 pred log like = -8.76107
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #4 Rep #1 pred log like = -2.40094
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #5 Rep #1 pred log like = -2.4358
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #6 Rep #1 pred log like = -3.17613
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #7 Rep #1 pred log like = -10.0062
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #8 Rep #1 pred log like = -17.9197
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #9 Rep #1 pred log like = -4.82178
Running at Laplace(24.4949) None Grid-point #4 at 0.00333333 Fold #10 Rep #1 pred log like = 0
AvgPred = -5.7731 with stdev = 4.9802
Completed at 0.00333333
Next point at 0.00423374 with value -5.71926 and continue = 0
search[ 0.00333333 ] = -5.7731(4.9802)
search[ 0.0333333 ] = -5.714(4.63275)
search[ 0.333333 ] = -6.50038(4.96518)
search[ 3.33333 ] = -7.12233(5.42582)
Maximum predicted log likelihood (-5.71926) estimated at:
0.00423374 (variance)
21.7347 (lambda)
Fitting model at optimal hyperparameter
Using prior: Laplace(21.7347) None
── 1. Failure: Test basic XY constructor (@test-xyConstructor.R#29) ───────────
summary(dataPtrD)[, "type"] not equal to as.factor(rep("dense", 5)).
Types not compatible: character is not integer
── 2. Failure: Test basic XY constructor (@test-xyConstructor.R#40) ───────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 3. Failure: Test basic XY constructor (@test-xyConstructor.R#51) ───────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 4. Failure: Test COO-constructor (@test-xyConstructor.R#182) ───────────────
summary(dataPtrI)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
── 5. Failure: Test COO-constructor (@test-xyConstructor.R#191) ───────────────
summary(dataPtrS)[, "type"] not equal to as.factor(rep("sparse", 5)).
Types not compatible: character is not integer
── 6. Failure: Test COO-constructor (@test-xyConstructor.R#207) ───────────────
summary(dataPtrA)[, "type"] not equal to as.factor(rep("indicator", 5)).
Types not compatible: character is not integer
Sparseness = 99.09 %
Sorting covariates by covariateId and rowId
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 245 | SKIPPED: 11 | WARNINGS: 195 | FAILED: 6 ]
1. Failure: Test basic XY constructor (@test-xyConstructor.R#29)
2. Failure: Test basic XY constructor (@test-xyConstructor.R#40)
3. Failure: Test basic XY constructor (@test-xyConstructor.R#51)
4. Failure: Test COO-constructor (@test-xyConstructor.R#182)
5. Failure: Test COO-constructor (@test-xyConstructor.R#191)
6. Failure: Test COO-constructor (@test-xyConstructor.R#207)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86