CRAN Package Check Results for Package rmdcev

Last updated on 2020-09-10 07:02:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 541.22 321.02 862.24 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.0 453.02 266.20 719.22 NOTE
r-devel-linux-x86_64-fedora-clang 1.2.0 1143.11 NOTE
r-devel-linux-x86_64-fedora-gcc 1.2.0 1219.15 NOTE
r-devel-windows-ix86+x86_64 1.2.0 1075.00 571.00 1646.00 NOTE
r-patched-linux-x86_64 1.2.0 499.41 348.95 848.36 NOTE
r-patched-solaris-x86 1.2.0 1143.80 NOTE
r-release-linux-x86_64 1.2.0 477.05 335.01 812.06 NOTE
r-release-macos-x86_64 1.2.0 ERROR
r-release-windows-ix86+x86_64 1.2.0 1028.00 546.00 1574.00 NOTE
r-oldrel-macos-x86_64 1.2.0 ERROR
r-oldrel-windows-ix86+x86_64 1.2.0 754.00 672.00 1426.00 NOTE

Check Details

Version: 1.2.0
Check: for GNU extensions in Makefiles
Result: NOTE
    GNU make is a SystemRequirements.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [218s/242s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > Sys.setenv("R_TESTS" = "")
     >
     > library(testthat)
     > library(rmdcev)
     Loading required package: Rcpp
     This is rmdcev version 1.2.0
     > test_check("rmdcev")
    
     SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0.012171 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 121.71 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: No variance estimation is
     Chain 1: performed for num_warmup < 20
     Chain 1:
     Chain 1: Iteration: 1 / 10 [ 10%] (Warmup)
     Chain 1: Iteration: 2 / 10 [ 20%] (Warmup)
     Chain 1: Iteration: 3 / 10 [ 30%] (Warmup)
     Chain 1: Iteration: 4 / 10 [ 40%] (Warmup)
     Chain 1: Iteration: 5 / 10 [ 50%] (Warmup)
     Chain 1: Iteration: 6 / 10 [ 60%] (Sampling)
     Chain 1: Iteration: 7 / 10 [ 70%] (Sampling)
     Chain 1: Iteration: 8 / 10 [ 80%] (Sampling)
     Chain 1: Iteration: 9 / 10 [ 90%] (Sampling)
     Chain 1: Iteration: 10 / 10 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.228772 seconds (Warm-up)
     Chain 1: 0.07619 seconds (Sampling)
     Chain 1: 0.304962 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0.01432 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 143.2 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: No variance estimation is
     Chain 1: performed for num_warmup < 20
     Chain 1:
     Chain 1: Iteration: 1 / 10 [ 10%] (Warmup)
     Chain 1: Iteration: 2 / 10 [ 20%] (Warmup)
     Chain 1: Iteration: 3 / 10 [ 30%] (Warmup)
     Chain 1: Iteration: 4 / 10 [ 40%] (Warmup)
     Chain 1: Iteration: 5 / 10 [ 50%] (Warmup)
     Chain 1: Iteration: 6 / 10 [ 60%] (Sampling)
     Chain 1: Iteration: 7 / 10 [ 70%] (Sampling)
     Chain 1: Iteration: 8 / 10 [ 80%] (Sampling)
     Chain 1: Iteration: 9 / 10 [ 90%] (Sampling)
     Chain 1: Iteration: 10 / 10 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.110546 seconds (Warm-up)
     Chain 1: 0.156665 seconds (Sampling)
     Chain 1: 0.267211 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0.012641 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 126.41 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: No variance estimation is
     Chain 1: performed for num_warmup < 20
     Chain 1:
     Chain 1: Iteration: 1 / 10 [ 10%] (Warmup)
     Chain 1: Iteration: 2 / 10 [ 20%] (Warmup)
     Chain 1: Iteration: 3 / 10 [ 30%] (Warmup)
     Chain 1: Iteration: 4 / 10 [ 40%] (Warmup)
     Chain 1: Iteration: 5 / 10 [ 50%] (Warmup)
     Chain 1: Iteration: 6 / 10 [ 60%] (Sampling)
     Chain 1: Iteration: 7 / 10 [ 70%] (Sampling)
     Chain 1: Iteration: 8 / 10 [ 80%] (Sampling)
     Chain 1: Iteration: 9 / 10 [ 90%] (Sampling)
     Chain 1: Iteration: 10 / 10 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 3.13405 seconds (Warm-up)
     Chain 1: 0.178696 seconds (Sampling)
     Chain 1: 3.31274 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0.01587 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 158.7 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: No variance estimation is
     Chain 1: performed for num_warmup < 20
     Chain 1:
     Chain 1: Iteration: 1 / 10 [ 10%] (Warmup)
     Chain 1: Iteration: 2 / 10 [ 20%] (Warmup)
     Chain 1: Iteration: 3 / 10 [ 30%] (Warmup)
     Chain 1: Iteration: 4 / 10 [ 40%] (Warmup)
     Chain 1: Iteration: 5 / 10 [ 50%] (Warmup)
     Chain 1: Iteration: 6 / 10 [ 60%] (Sampling)
     Chain 1: Iteration: 7 / 10 [ 70%] (Sampling)
     Chain 1: Iteration: 8 / 10 [ 80%] (Sampling)
     Chain 1: Iteration: 9 / 10 [ 90%] (Sampling)
     Chain 1: Iteration: 10 / 10 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 6.35911 seconds (Warm-up)
     Chain 1: 0.153705 seconds (Sampling)
     Chain 1: 6.51281 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0.016594 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 165.94 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: No variance estimation is
     Chain 1: performed for num_warmup < 20
     Chain 1:
     Chain 1: Iteration: 1 / 10 [ 10%] (Warmup)
     Chain 1: Iteration: 2 / 10 [ 20%] (Warmup)
     Chain 1: Iteration: 3 / 10 [ 30%] (Warmup)
     Chain 1: Iteration: 4 / 10 [ 40%] (Warmup)
     Chain 1: Iteration: 5 / 10 [ 50%] (Warmup)
     Chain 1: Iteration: 6 / 10 [ 60%] (Sampling)
     Chain 1: Iteration: 7 / 10 [ 70%] (Sampling)
     Chain 1: Iteration: 8 / 10 [ 80%] (Sampling)
     Chain 1: Iteration: 9 / 10 [ 90%] (Sampling)
     Chain 1: Iteration: 10 / 10 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.237159 seconds (Warm-up)
     Chain 1: 0.1154 seconds (Sampling)
     Chain 1: 0.352559 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0.00996 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 99.6 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: No variance estimation is
     Chain 1: performed for num_warmup < 20
     Chain 1:
     Chain 1: Iteration: 1 / 10 [ 10%] (Warmup)
     Chain 1: Iteration: 2 / 10 [ 20%] (Warmup)
     Chain 1: Iteration: 3 / 10 [ 30%] (Warmup)
     Chain 1: Iteration: 4 / 10 [ 40%] (Warmup)
     Chain 1: Iteration: 5 / 10 [ 50%] (Warmup)
     Chain 1: Iteration: 6 / 10 [ 60%] (Sampling)
     Chain 1: Iteration: 7 / 10 [ 70%] (Sampling)
     Chain 1: Iteration: 8 / 10 [ 80%] (Sampling)
     Chain 1: Iteration: 9 / 10 [ 90%] (Sampling)
     Chain 1: Iteration: 10 / 10 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.067469 seconds (Warm-up)
     Chain 1: 0.081512 seconds (Sampling)
     Chain 1: 0.148981 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0.009144 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 91.44 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: No variance estimation is
     Chain 1: performed for num_warmup < 20
     Chain 1:
     Chain 1: Iteration: 1 / 10 [ 10%] (Warmup)
     Chain 1: Iteration: 2 / 10 [ 20%] (Warmup)
     Chain 1: Iteration: 3 / 10 [ 30%] (Warmup)
     Chain 1: Iteration: 4 / 10 [ 40%] (Warmup)
     Chain 1: Iteration: 5 / 10 [ 50%] (Warmup)
     Chain 1: Iteration: 6 / 10 [ 60%] (Sampling)
     Chain 1: Iteration: 7 / 10 [ 70%] (Sampling)
     Chain 1: Iteration: 8 / 10 [ 80%] (Sampling)
     Chain 1: Iteration: 9 / 10 [ 90%] (Sampling)
     Chain 1: Iteration: 10 / 10 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.672517 seconds (Warm-up)
     Chain 1: 0.074969 seconds (Sampling)
     Chain 1: 0.747486 seconds (Total)
     Chain 1:
     [1] -2653.222965
     [1] 5467.626887
     Chain 1: Initial log joint probability = -9825.86
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: Error evaluating model log probability: Non-finite gradient.
     Error evaluating model log probability: Non-finite gradient.
     Error evaluating model log probability: Non-finite gradient.
    
     Chain 1: 19 -914.527 0.125344 9.75621 0.4281 0.4281 30
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 39 -910.417 0.336908 4.02056 1 1 51
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 59 -908.498 0.186377 1.48621 1 1 73
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 79 -908.224 0.0053696 0.136022 1 1 97
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 99 -908.223 0.0030149 0.0109081 1 1 124
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 102 -908.223 0.000471434 0.0145965 0.4108 1 128
     Chain 1: Optimization terminated normally:
     Chain 1: Convergence detected: relative gradient magnitude is below tolerance
     [1] "The outside good is not chosen for individuals: 147, -8.73114913702011e-11\n Ensure that the total expenditure on the alternatives is less than income."
     -- 1. Error: Generate alpha MDCEV data (@test-gen_data.R#23) ------------------
    
     Backtrace:
     1. rmdcev::GenerateMDCEVData(...)
     2. rmdcev::mdcev.data(data, id.var = "id", alt.var = "alt", choice = "quant")
     3. rmdcev:::mdcev.datacheck(data)
    
     Chain 1: Initial log joint probability = -6983.52
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 19 -3953.79 0.0187299 6.56652 0.2878 0.2878 24
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 39 -3953.01 0.00266121 0.30192 0.4447 0.4447 48
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 48 -3953.01 0.00105536 0.0236134 1 1 59
     Chain 1: Optimization terminated normally:
     Chain 1: Convergence detected: relative gradient magnitude is below tolerance
     Chain 1: Initial log joint probability = -3555.46
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 19 -2770.04 0.00295144 2.7883 0.2752 0.2752 26
     Chain 1: Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes
     Chain 1: 28 -2770 0.000135318 0.0616932 0.4322 0.4322 37
     Chain 1: Optimization terminated normally:
     Chain 1: Convergence detected: relative gradient magnitude is below tolerance
     [1] -2770.001937
     [1] -5073.68569
     NULL
     == testthat results ===========================================================
     [ OK: 66 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: Generate alpha MDCEV data (@test-gen_data.R#23)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.0
Check: installed package size
Result: NOTE
     installed size is 92.6Mb
     sub-directories of 1Mb or more:
     libs 91.7Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.2.0
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘RcppParallel’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 1.2.0
Check: package dependencies
Result: ERROR
    Packages required and available but unsuitable versions: 'rstan', 'rstan'
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-release-macos-x86_64

Version: 1.2.0
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-oldrel-macos-x86_64