CRAN Package Check Results for Maintainer ‘Alexander Dokumentov <alexander.dokumentov at gmail.com>’

Last updated on 2024-11-21 19:53:01 CET.

Package ERROR NOTE OK
smoothAPC 1 10 2

Package smoothAPC

Current CRAN status: ERROR: 1, NOTE: 10, OK: 2

Version: 0.3
Check: whether package can be installed
Result: WARN Found the following significant warnings: Warning: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [13m/17m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ [ FAIL 8 | WARN 0 | SKIP 5 | PASS 19 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 22) [1] -41.63 - 1.00 == -42.63 [2] 69.88 - 1.01 == 68.87 [3] 147.04 - 1.02 == 146.02 [4] 50.92 - 1.03 == 49.89 [5] 33.05 - 1.04 == 32.01 [6] 21.22 - 1.05 == 20.17 [7] 7.92 - 1.06 == 6.86 [8] -5.72 - 1.07 == -6.79 [9] -19.14 - 1.08 == -20.22 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 21.2) [1] -102.35 - 0 == -102.35 [2] -82.42 - 0 == -82.42 [3] -65.28 - 0 == -65.28 [4] -49.21 - 0 == -49.21 [5] -34.06 - 0 == -34.06 [6] -19.73 - 0 == -19.73 [7] -5.97 - 0 == -5.97 [8] 7.43 - 0 == 7.43 [9] 20.62 - 0 == 20.62 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 43.4) [1] 190.4 - 0 == 190.4 [2] -59.7 - 0 == -59.7 [3] -55.2 - 0 == -55.2 [11] -69.8 - 0 == -69.8 [12] 175.3 - 0 == 175.3 [13] -55.6 - 0 == -55.6 [14] -41.5 - 0 == -41.5 [21] -80.4 - 0 == -80.4 [22] -64.4 - 0 == -64.4 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 8 | WARN 0 | SKIP 5 | PASS 19 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘compiler’ ‘lmtest’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.3
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.3
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘demography’ Flavor: r-oldrel-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.