Running 'testthat.R' [45s]
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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdePost.h:13:0,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:166,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/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-274a4707a7fef_Exports.cpp:31:1:   required from here
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/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-274a4707a7fef_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeRUtils.h:10,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a4707a7fef_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeRUtils.h:10,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a4707a7fef_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a4707a7fef_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a4707a7fef_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a4707a7fef_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a4707a7fef_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdePost.h:13:0,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:166,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/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-274a469026f6_Exports.cpp:31:1:   required from here
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/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-274a469026f6_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeRUtils.h:10,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a469026f6_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeUtils.h:7:0,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeRUtils.h:10,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a469026f6_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a469026f6_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a469026f6_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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-274a469026f6_Exports.cpp:11:0:
  D:/temp/RtmpolzVqs/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/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:164:0,
                   from msde-274a469026f6_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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.11e-08 - 0 == 2.11e-08
  
  In file included from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdePost.h:13:0,
                   from D:/temp/RtmpsNEP00/RLIBS_19f46f87960/msde/include/sdeInterface.h:166,
                   from msde-274a45a533b08_Exports.cpp:9:
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/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-274a45a533b08_Exports.cpp:31:1:   required from here
  D:/temp/RtmpsNEP00/RLIBS_19f46f87960/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/RtmpsNEP00/RLIBS_19f46f87960/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