CRAN Package Check Results for Package BTYDplus

Last updated on 2020-12-10 13:49:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 1.0.1 371.22 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 328.84 ERROR
r-devel-windows-ix86+x86_64 1.0.1 68.00 317.00 385.00 ERROR --no-vignettes
r-patched-solaris-x86 1.0.1 372.40 ERROR
r-release-macos-x86_64 1.0.1 OK
r-oldrel-macos-x86_64 1.0.1 OK

Check Details

Version: 1.0.1
Check: compiled code
Result: NOTE
    File ‘BTYDplus/libs/BTYDplus.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [122s/180s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(BTYDplus)
     >
     > test_check("BTYDplus")
     ── ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k ────────────────────────────────────
     Error: argument "hardie" is missing, with no default
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-bg-cnbd-k.R:38:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─BTYD::bgnbd.PlotTrackingInc(...)
     5. ├─BTYD::dc.CumulativeToIncremental(...)
     6. └─BTYD::bgnbd.ExpectedCumulativeTransactions(...)
     7. └─base::sapply(...)
     8. └─base::lapply(X = X, FUN = FUN, ...)
     9. └─BTYD:::FUN(X[[i]], ...)
     10. └─BTYD::bgnbd.Expectation(params = params, t = t, hardie = hardie)
    
     ── Skip (test-mbg-cnbd-k.R:58:3): MBG/CNBD-k ───────────────────────────────────
     Reason: skip long-running test of bias correction
    
     set param_init: 1, 1, 1, 1
     running in parallel on 2 cores
     chain: 2 step: 100 of 110
     chain: 1 step: 100 of 110
     running in parallel on 2 cores
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     set param_init: 1, 1, 1, 1, 1, 1
     running in parallel on 2 cores
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 1500
     chain: 1 step: 200 of 1500
     chain: 1 step: 300 of 1500
     chain: 1 step: 400 of 1500
     chain: 1 step: 500 of 1500
     chain: 1 step: 600 of 1500
     chain: 1 step: 700 of 1500
     chain: 1 step: 800 of 1500
     chain: 1 step: 900 of 1500
     chain: 1 step: 1000 of 1500
     chain: 1 step: 1100 of 1500
     chain: 1 step: 1200 of 1500
     chain: 1 step: 1300 of 1500
     chain: 1 step: 1400 of 1500
     chain: 1 step: 1500 of 1500
     ── ERROR (test-mcmc.R:98:3): MCMC Helpers ──────────────────────────────────────
     Error: argument "hardie" is missing, with no default
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-mcmc.R:98:2
     2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─BTYD::pnbd.PlotFrequencyInCalibration(...)
     5. └─BTYD::pnbd.pmf(params, T, ii - 1, hardie)
     6. └─BTYD::pnbd.pmf.General(...)
     7. └─base::mapply(...)
    
     chain: 1 step: 100 of 120
     chain: 2 step: 100 of 120
     ── Skip (test-pareto-ggg-mcmc.R:29:3): Pareto/GGG MCMC ─────────────────────────
     Reason: skip long-running test of Pareto/GGG parameter recovery
    
     ── Skip (test-pareto-nbd-abe.R:4:3): Pareto/NBD (Abe) MCMC ─────────────────────
     Reason: On CRAN
    
     ── Skip (test-pareto-nbd-mcmc.R:48:3): Pareto/NBD MCMC ─────────────────────────
     Reason: On CRAN
    
     ── Skip (test-style.R:4:5): Package Style ──────────────────────────────────────
     Reason: On CRAN
    
     ── Skipped tests ──────────────────────────────────────────────────────────────
     ● On CRAN (3)
     ● skip long-running test of Pareto/GGG parameter recovery (1)
     ● skip long-running test of bias correction (1)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k
     ERROR (test-mcmc.R:98:3): MCMC Helpers
    
     [ FAIL 2 | WARN 0 | SKIP 5 | PASS 138 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘BTYDplus-HowTo.Rmd’ using rmarkdown
    Quitting from lines 209-220 (BTYDplus-HowTo.Rmd)
    Error: processing vignette 'BTYDplus-HowTo.Rmd' failed with diagnostics:
    Cannot evaluate function at initial parameters
    --- failed re-building ‘BTYDplus-HowTo.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘BTYDplus-HowTo.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [99s/224s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(BTYDplus)
     >
     > test_check("BTYDplus")
     ── ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k ────────────────────────────────────
     Error: argument "hardie" is missing, with no default
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-bg-cnbd-k.R:38:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─BTYD::bgnbd.PlotTrackingInc(...)
     5. ├─BTYD::dc.CumulativeToIncremental(...)
     6. └─BTYD::bgnbd.ExpectedCumulativeTransactions(...)
     7. └─base::sapply(...)
     8. └─base::lapply(X = X, FUN = FUN, ...)
     9. └─BTYD:::FUN(X[[i]], ...)
     10. └─BTYD::bgnbd.Expectation(params = params, t = t, hardie = hardie)
    
     ── Skip (test-mbg-cnbd-k.R:58:3): MBG/CNBD-k ───────────────────────────────────
     Reason: skip long-running test of bias correction
    
     set param_init: 1, 1, 1, 1
     running in parallel on 2 cores
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     running in parallel on 2 cores
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     set param_init: 1, 1, 1, 1, 1, 1
     running in parallel on 2 cores
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 1500
     chain: 1 step: 200 of 1500
     chain: 1 step: 300 of 1500
     chain: 1 step: 400 of 1500
     chain: 1 step: 500 of 1500
     chain: 1 step: 600 of 1500
     chain: 1 step: 700 of 1500
     chain: 1 step: 800 of 1500
     chain: 1 step: 900 of 1500
     chain: 1 step: 1000 of 1500
     chain: 1 step: 1100 of 1500
     chain: 1 step: 1200 of 1500
     chain: 1 step: 1300 of 1500
     chain: 1 step: 1400 of 1500
     chain: 1 step: 1500 of 1500
     ── ERROR (test-mcmc.R:98:3): MCMC Helpers ──────────────────────────────────────
     Error: argument "hardie" is missing, with no default
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-mcmc.R:98:2
     2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─BTYD::pnbd.PlotFrequencyInCalibration(...)
     5. └─BTYD::pnbd.pmf(params, T, ii - 1, hardie)
     6. └─BTYD::pnbd.pmf.General(...)
     7. └─base::mapply(...)
    
     chain: 1 step: 100 of 120
     chain: 2 step: 100 of 120
     ── Skip (test-pareto-ggg-mcmc.R:29:3): Pareto/GGG MCMC ─────────────────────────
     Reason: skip long-running test of Pareto/GGG parameter recovery
    
     ── Skip (test-pareto-nbd-abe.R:4:3): Pareto/NBD (Abe) MCMC ─────────────────────
     Reason: On CRAN
    
     ── Skip (test-pareto-nbd-mcmc.R:48:3): Pareto/NBD MCMC ─────────────────────────
     Reason: On CRAN
    
     ── Skip (test-style.R:4:5): Package Style ──────────────────────────────────────
     Reason: On CRAN
    
     ── Skipped tests ──────────────────────────────────────────────────────────────
     ● On CRAN (3)
     ● skip long-running test of Pareto/GGG parameter recovery (1)
     ● skip long-running test of bias correction (1)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k
     ERROR (test-mcmc.R:98:3): MCMC Helpers
    
     [ FAIL 2 | WARN 0 | SKIP 5 | PASS 138 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Flags: --no-vignettes
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [55s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(BTYDplus)
     >
     > test_check("BTYDplus")
     -- ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k ------------------------------------
     Error: argument "hardie" is missing, with no default
     Backtrace:
     x
     1. +-testthat::expect_equal(...) test-bg-cnbd-k.R:38:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-BTYD::bgnbd.PlotTrackingInc(...)
     5. +-BTYD::dc.CumulativeToIncremental(...)
     6. \-BTYD::bgnbd.ExpectedCumulativeTransactions(...)
     7. \-base::sapply(...)
     8. \-base::lapply(X = X, FUN = FUN, ...)
     9. \-BTYD:::FUN(X[[i]], ...)
     10. \-BTYD::bgnbd.Expectation(params = params, t = t, hardie = hardie)
    
     -- Skip (test-mbg-cnbd-k.R:58:3): MBG/CNBD-k -----------------------------------
     Reason: skip long-running test of bias correction
    
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     set param_init: 1, 1, 1, 1, 1, 1
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 1500
     chain: 1 step: 200 of 1500
     chain: 1 step: 300 of 1500
     chain: 1 step: 400 of 1500
     chain: 1 step: 500 of 1500
     chain: 1 step: 600 of 1500
     chain: 1 step: 700 of 1500
     chain: 1 step: 800 of 1500
     chain: 1 step: 900 of 1500
     chain: 1 step: 1000 of 1500
     chain: 1 step: 1100 of 1500
     chain: 1 step: 1200 of 1500
     chain: 1 step: 1300 of 1500
     chain: 1 step: 1400 of 1500
     chain: 1 step: 1500 of 1500
     -- ERROR (test-mcmc.R:98:3): MCMC Helpers --------------------------------------
     Error: argument "hardie" is missing, with no default
     Backtrace:
     x
     1. +-testthat::expect_equal(...) test-mcmc.R:98:2
     2. | \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-BTYD::pnbd.PlotFrequencyInCalibration(...)
     5. \-BTYD::pnbd.pmf(params, T, ii - 1, hardie)
     6. \-BTYD::pnbd.pmf.General(...)
     7. \-base::mapply(...)
    
     chain: 1 step: 100 of 120
     chain: 2 step: 100 of 120
     -- Skip (test-pareto-ggg-mcmc.R:29:3): Pareto/GGG MCMC -------------------------
     Reason: skip long-running test of Pareto/GGG parameter recovery
    
     -- Skip (test-pareto-nbd-abe.R:4:3): Pareto/NBD (Abe) MCMC ---------------------
     Reason: On CRAN
    
     -- Skip (test-pareto-nbd-mcmc.R:48:3): Pareto/NBD MCMC -------------------------
     Reason: On CRAN
    
     -- Skip (test-style.R:4:5): Package Style --------------------------------------
     Reason: On CRAN
    
     -- Skipped tests --------------------------------------------------------------
     * On CRAN (3)
     * skip long-running test of Pareto/GGG parameter recovery (1)
     * skip long-running test of bias correction (1)
    
     == testthat results ===========================================================
     ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k
     ERROR (test-mcmc.R:98:3): MCMC Helpers
    
     [ FAIL 2 | WARN 0 | SKIP 5 | PASS 138 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.0.1
Flags: --no-vignettes
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [57s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(BTYDplus)
     >
     > test_check("BTYDplus")
     -- ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k ------------------------------------
     Error: argument "hardie" is missing, with no default
     Backtrace:
     x
     1. +-testthat::expect_equal(...) test-bg-cnbd-k.R:38:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-BTYD::bgnbd.PlotTrackingInc(...)
     5. +-BTYD::dc.CumulativeToIncremental(...)
     6. \-BTYD::bgnbd.ExpectedCumulativeTransactions(...)
     7. \-base::sapply(...)
     8. \-base::lapply(X = X, FUN = FUN, ...)
     9. \-BTYD:::FUN(X[[i]], ...)
     10. \-BTYD::bgnbd.Expectation(params = params, t = t, hardie = hardie)
    
     -- Skip (test-mbg-cnbd-k.R:58:3): MBG/CNBD-k -----------------------------------
     Reason: skip long-running test of bias correction
    
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     set param_init: 1, 1, 1, 1, 1, 1
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 1500
     chain: 1 step: 200 of 1500
     chain: 1 step: 300 of 1500
     chain: 1 step: 400 of 1500
     chain: 1 step: 500 of 1500
     chain: 1 step: 600 of 1500
     chain: 1 step: 700 of 1500
     chain: 1 step: 800 of 1500
     chain: 1 step: 900 of 1500
     chain: 1 step: 1000 of 1500
     chain: 1 step: 1100 of 1500
     chain: 1 step: 1200 of 1500
     chain: 1 step: 1300 of 1500
     chain: 1 step: 1400 of 1500
     chain: 1 step: 1500 of 1500
     -- ERROR (test-mcmc.R:98:3): MCMC Helpers --------------------------------------
     Error: argument "hardie" is missing, with no default
     Backtrace:
     x
     1. +-testthat::expect_equal(...) test-mcmc.R:98:2
     2. | \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-BTYD::pnbd.PlotFrequencyInCalibration(...)
     5. \-BTYD::pnbd.pmf(params, T, ii - 1, hardie)
     6. \-BTYD::pnbd.pmf.General(...)
     7. \-base::mapply(...)
    
     chain: 1 step: 100 of 120
     chain: 2 step: 100 of 120
     -- Skip (test-pareto-ggg-mcmc.R:29:3): Pareto/GGG MCMC -------------------------
     Reason: skip long-running test of Pareto/GGG parameter recovery
    
     -- Skip (test-pareto-nbd-abe.R:4:3): Pareto/NBD (Abe) MCMC ---------------------
     Reason: On CRAN
    
     -- Skip (test-pareto-nbd-mcmc.R:48:3): Pareto/NBD MCMC -------------------------
     Reason: On CRAN
    
     -- Skip (test-style.R:4:5): Package Style --------------------------------------
     Reason: On CRAN
    
     -- Skipped tests --------------------------------------------------------------
     * On CRAN (3)
     * skip long-running test of Pareto/GGG parameter recovery (1)
     * skip long-running test of bias correction (1)
    
     == testthat results ===========================================================
     ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k
     ERROR (test-mcmc.R:98:3): MCMC Helpers
    
     [ FAIL 2 | WARN 0 | SKIP 5 | PASS 138 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [104s/134s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(BTYDplus)
     >
     > test_check("BTYDplus")
     ── ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k ────────────────────────────────────
     Error: argument "hardie" is missing, with no default
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-bg-cnbd-k.R:38:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─BTYD::bgnbd.PlotTrackingInc(...)
     5. ├─BTYD::dc.CumulativeToIncremental(...)
     6. └─BTYD::bgnbd.ExpectedCumulativeTransactions(...)
     7. └─base::sapply(...)
     8. └─base::lapply(X = X, FUN = FUN, ...)
     9. └─BTYD:::FUN(X[[i]], ...)
     10. └─BTYD::bgnbd.Expectation(params = params, t = t, hardie = hardie)
    
     ── Skip (test-mbg-cnbd-k.R:58:3): MBG/CNBD-k ───────────────────────────────────
     Reason: skip long-running test of bias correction
    
     set param_init: 1, 1, 1, 1
     running in parallel on 2 cores
     chain: 2 step: 100 of 110
     chain: 1 step: 100 of 110
     running in parallel on 2 cores
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     set param_init: 1, 1, 1, 1, 1, 1
     running in parallel on 2 cores
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 1500
     chain: 1 step: 200 of 1500
     chain: 1 step: 300 of 1500
     chain: 1 step: 400 of 1500
     chain: 1 step: 500 of 1500
     chain: 1 step: 600 of 1500
     chain: 1 step: 700 of 1500
     chain: 1 step: 800 of 1500
     chain: 1 step: 900 of 1500
     chain: 1 step: 1000 of 1500
     chain: 1 step: 1100 of 1500
     chain: 1 step: 1200 of 1500
     chain: 1 step: 1300 of 1500
     chain: 1 step: 1400 of 1500
     chain: 1 step: 1500 of 1500
     ── ERROR (test-mcmc.R:98:3): MCMC Helpers ──────────────────────────────────────
     Error: argument "hardie" is missing, with no default
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-mcmc.R:98:2
     2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─BTYD::pnbd.PlotFrequencyInCalibration(...)
     5. └─BTYD::pnbd.pmf(params, T, ii - 1, hardie)
     6. └─BTYD::pnbd.pmf.General(...)
     7. └─base::mapply(...)
    
     chain: 1 step: 100 of 120
     chain: 2 step: 100 of 120
     ── Skip (test-pareto-ggg-mcmc.R:29:3): Pareto/GGG MCMC ─────────────────────────
     Reason: skip long-running test of Pareto/GGG parameter recovery
    
     ── Skip (test-pareto-nbd-abe.R:4:3): Pareto/NBD (Abe) MCMC ─────────────────────
     Reason: On CRAN
    
     ── Skip (test-pareto-nbd-mcmc.R:48:3): Pareto/NBD MCMC ─────────────────────────
     Reason: On CRAN
    
     ── Skip (test-style.R:4:5): Package Style ──────────────────────────────────────
     Reason: On CRAN
    
     ── Skipped tests ──────────────────────────────────────────────────────────────
     ● On CRAN (3)
     ● skip long-running test of Pareto/GGG parameter recovery (1)
     ● skip long-running test of bias correction (1)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     ERROR (test-bg-cnbd-k.R:38:3): BG/CNBD-k
     ERROR (test-mcmc.R:98:3): MCMC Helpers
    
     [ FAIL 2 | WARN 0 | SKIP 5 | PASS 138 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.0.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘BTYDplus-HowTo.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 209-220 (BTYDplus-HowTo.Rmd)
    Error: processing vignette 'BTYDplus-HowTo.Rmd' failed with diagnostics:
    Cannot evaluate function at initial parameters
    --- failed re-building ‘BTYDplus-HowTo.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘BTYDplus-HowTo.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86