CRAN Package Check Results for Package msde

Last updated on 2018-07-19 18:49:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 27.14 88.70 115.84 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 20.40 78.05 98.45 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 157.46 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 159.29 OK
r-devel-windows-ix86+x86_64 1.0.3 54.00 197.00 251.00 OK
r-patched-linux-x86_64 1.0.3 26.80 101.66 128.46 OK
r-patched-solaris-x86 1.0.3 150.30 OK
r-release-linux-x86_64 1.0.3 25.69 101.28 126.97 OK
r-release-windows-ix86+x86_64 1.0.3 68.00 198.00 266.00 ERROR
r-release-osx-x86_64 1.0.3 OK
r-oldrel-windows-ix86+x86_64 1.0.3 64.00 155.00 219.00 OK
r-oldrel-osx-x86_64 1.0.3 OK

Additional issues

clang-UBSAN gcc-UBSAN

Check Details

Version: 1.0.3
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [37s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(msde)
     >
     > Sys.unsetenv("R_TESTS")
     > test_check("msde")
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdePost.h:13:0,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:166,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h: In instantiation of 'sdeMCMC<sMod, sPi>::sdeMCMC(int, double*, double*, double*, int*, bool*, double**, int, int*, int) [with sMod = sdeModel; sPi = sdePrior]':
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdePost.h:95:11: required from 'List sdeRobj<sMod, sPi>::Post(Numeric, Numeric, Numeric, Integer, Logical, int, int, int, int, Integer, Integer, Integer, double, double, List, List, int, int, int, int, int, bool) [with sMod = sdeModel; sPi = sdePrior; List = Rcpp::Vector<19>; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; Integer = Rcpp::Vector<13>; Logical = Rcpp::Vector<10, Rcpp::PreserveStorage>]'
     msde-43444bd294_Exports.cpp:31:1: required from here
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h:68:7: warning: variable 'nDims2' set but not used [-Wunused-but-set-variable]
     int nDims2, nCores; // inherited from sdeLogLik
     ^
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h:70:16: warning: variable 'sqrtDT' set but not used [-Wunused-but-set-variable]
     double *dT, *sqrtDT; // inherited from sdeLogLik
     ^
     In file included from msde-43444bd294_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; List = Rcpp::Vector<19>]':
     D:/temp/RtmpSuAzw4/sdePrior.h:63:15: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] tmpZ;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::tmpZ' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeUtils.h:7:0,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:10,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/mvnUtils.h:79:16: warning: 'prior.sdePrior::tmpX' may be used uninitialized in this function [-Wmaybe-uninitialized]
     resi = x[ii] - mean[ii];
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-43444bd294_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:61:15: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] cholSd;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::cholSd' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeUtils.h:7:0,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:10,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/mvnUtils.h:79:27: warning: 'prior.sdePrior::mean' may be used uninitialized in this function [-Wmaybe-uninitialized]
     resi = x[ii] - mean[ii];
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::mean' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-43444bd294_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:68:17: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] dataId;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::dataId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-43444bd294_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:65:17: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] paramId;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-43444bd294_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:67:5: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if(nDataRV > 0) {
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::nDataRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-43444bd294_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:64:5: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if(nParamRV > 0) {
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-43444bd294_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::nParamRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdePost.h:13:0,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:166,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h: In instantiation of 'sdeMCMC<sMod, sPi>::sdeMCMC(int, double*, double*, double*, int*, bool*, double**, int, int*, int) [with sMod = sdeModel; sPi = sdePrior]':
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdePost.h:95:11: required from 'List sdeRobj<sMod, sPi>::Post(Numeric, Numeric, Numeric, Integer, Logical, int, int, int, int, Integer, Integer, Integer, double, double, List, List, int, int, int, int, int, bool) [with sMod = sdeModel; sPi = sdePrior; List = Rcpp::Vector<19>; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; Integer = Rcpp::Vector<13>; Logical = Rcpp::Vector<10, Rcpp::PreserveStorage>]'
     msde-434432cf1dc5_Exports.cpp:31:1: required from here
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h:68:7: warning: variable 'nDims2' set but not used [-Wunused-but-set-variable]
     int nDims2, nCores; // inherited from sdeLogLik
     ^
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h:70:16: warning: variable 'sqrtDT' set but not used [-Wunused-but-set-variable]
     double *dT, *sqrtDT; // inherited from sdeLogLik
     ^
     In file included from msde-434432cf1dc5_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h: In member function 'Numeric sdeRobj<sMod, sPi>::Prior(Numeric, Numeric, bool, bool, int, List) [with sMod = sdeModel; sPi = sdePrior; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; List = Rcpp::Vector<19>]':
     D:/temp/RtmpSuAzw4/sdePrior.h:63:15: warning: 'prior.sdePrior::tmpZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] tmpZ;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::tmpZ' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeUtils.h:7:0,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:10,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/mvnUtils.h:79:16: warning: 'prior.sdePrior::tmpX' may be used uninitialized in this function [-Wmaybe-uninitialized]
     resi = x[ii] - mean[ii];
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::tmpX' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-434432cf1dc5_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:61:15: warning: 'prior.sdePrior::cholSd' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] cholSd;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::cholSd' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeUtils.h:7:0,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:10,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/mvnUtils.h:79:27: warning: 'prior.sdePrior::mean' may be used uninitialized in this function [-Wmaybe-uninitialized]
     resi = x[ii] - mean[ii];
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::mean' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-434432cf1dc5_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:68:17: warning: 'prior.sdePrior::dataId' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] dataId;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::dataId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-434432cf1dc5_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:65:17: warning: 'prior.sdePrior::paramId' may be used uninitialized in this function [-Wmaybe-uninitialized]
     delete [] paramId;
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::paramId' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-434432cf1dc5_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:67:5: warning: 'prior.sdePrior::nDataRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if(nDataRV > 0) {
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::nDataRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     In file included from msde-434432cf1dc5_Exports.cpp:11:0:
     D:/temp/RtmpSuAzw4/sdePrior.h:64:5: warning: 'prior.sdePrior::nParamRV' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if(nParamRV > 0) {
     ^
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:164:0,
     from msde-434432cf1dc5_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeRUtils.h:150:7: note: 'prior.sdePrior::nParamRV' was declared here
     sPi prior(priorArgs.phi, priorArgs.nArgs, priorArgs.nEachArg);
     ^
     -- 1. Failure: lpi.R == lpi.cpp -----------------------------------------------
     mxd[ii, 2] not equal to 0.
     1/1 mismatches
     [1] 2.84e-08 - 0 == 2.84e-08
    
     In file included from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdePost.h:13:0,
     from D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeInterface.h:166,
     from msde-4344522f5ba1_Exports.cpp:9:
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h: In instantiation of 'sdeMCMC<sMod, sPi>::sdeMCMC(int, double*, double*, double*, int*, bool*, double**, int, int*, int) [with sMod = sdeModel; sPi = sdePrior]':
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdePost.h:95:11: required from 'List sdeRobj<sMod, sPi>::Post(Numeric, Numeric, Numeric, Integer, Logical, int, int, int, int, Integer, Integer, Integer, double, double, List, List, int, int, int, int, int, bool) [with sMod = sdeModel; sPi = sdePrior; List = Rcpp::Vector<19>; Numeric = Rcpp::Vector<14, Rcpp::PreserveStorage>; Integer = Rcpp::Vector<13>; Logical = Rcpp::Vector<10, Rcpp::PreserveStorage>]'
     msde-4344522f5ba1_Exports.cpp:31:1: required from here
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h:68:7: warning: variable 'nDims2' set but not used [-Wunused-but-set-variable]
     int nDims2, nCores; // inherited from sdeLogLik
     ^
     D:/temp/RtmpgnEr9m/RLIBS_3072c10115848/msde/include/sdeMCMC.h:70:16: warning: variable 'sqrtDT' set but not used [-Wunused-but-set-variable]
     double *dT, *sqrtDT; // inherited from sdeLogLik
     ^
     == testthat results ===========================================================
     OK: 457 SKIPPED: 0 FAILED: 1
     1. Failure: lpi.R == lpi.cpp
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64