CRAN Package Check Results for Package postCP

Last updated on 2014-07-24 05:48:30.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.2 1.59 18.97 20.56 NOTE
r-devel-linux-x86_64-debian-gcc 1.7.2 1.98 20.14 22.12 NOTE
r-devel-linux-x86_64-fedora-clang 1.7.2 43.41 NOTE
r-devel-linux-x86_64-fedora-gcc 1.7.2 41.63 NOTE
r-devel-osx-x86_64-clang 1.7.2 39.45 NOTE
r-devel-windows-ix86+x86_64 1.7.2 8.00 43.00 51.00 NOTE
r-patched-linux-x86_64 1.7.2 1.97 18.66 20.62 NOTE
r-patched-solaris-sparc 1.7.2 217.40 ERROR
r-patched-solaris-x86 1.7.2 51.20 ERROR
r-release-linux-ix86 1.7.2 2.81 27.44 30.26 NOTE
r-release-linux-x86_64 1.7.2 3.98 19.20 23.18 NOTE
r-release-osx-x86_64-mavericks 1.7.2 NOTE
r-release-osx-x86_64-snowleopard 1.7.2 OK
r-release-windows-ix86+x86_64 1.7.2 10.00 45.00 55.00 NOTE
r-oldrel-windows-ix86+x86_64 1.7.2 10.00 52.00 62.00 NOTE

Check Details

Version: 1.7.2
Check: dependencies in R code
Result: NOTE
    Packages in Depends field not imported from:
     ‘MASS’ ‘Segmentor3IsBack’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
    See the information on DESCRIPTION files in the chapter ‘Creating R
    packages’ of the ‘Writing R Extensions’ manual.
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-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.7.2
Check: foreign function calls
Result: NOTE
    Calls with DUP = FALSE:
     .C("postCPlev", data = as.double(data), rseg = as.integer(seg),
     nn = as.integer(n), JJ = as.integer(J), rnseg = as.integer(nseg),
     lforward = as.double(lforward), lbackward = as.double(lbackward),
     lprob = as.double(lprob), rprobs = as.integer(probs), cp = as.double(post.cp),
     bestcp = as.double(bestcp), bestlevel = as.double(best.level),
     rmu = as.double(rmu), rsigma = as.double(rsigma), cpconfint = as.double(cpconfint),
     cpvector = as.double(cpvector), levvector = as.double(levvector),
     rci = as.double(ci), rviterbi = as.integer(viterbi), rinitsegci = as.integer(initsegci),
     rnsamples = as.integer(nsamples), rmodel = as.integer(model),
     rprior = as.double(prior), rpriortype = as.integer(ptype),
     rmout = as.integer(keep), rlevelbased = as.integer(1), rverbose = as.integer(verbose),
     rdebug = as.integer(debug), DUP = FALSE, PACKAGE = "postCP")
     .C("postCP", data = as.double(data), rseg = as.integer(seg),
     nn = as.integer(n), JJ = as.integer(J), lforward = as.double(lforward),
     lbackward = as.double(lbackward), cp = as.double(post.cp),
     bestcp = as.double(bestcp), rmu = as.double(rmu), rsigma = as.double(rsigma),
     lprob = as.double(lprob), rprobs = as.integer(probs), cpconfint = as.double(cpconfint),
     cpvector = as.double(cpvector), rci = as.double(ci), rviterbi = as.integer(viterbi),
     rinitsegci = as.integer(initsegci), rnsamples = as.integer(nsamples),
     rmodel = as.integer(model), rprior = as.double(prior), rpriortype = as.integer(ptype),
     rmout = as.integer(keep), rlevelbased = as.integer(0), rverbose = as.integer(verbose),
     rdebug = as.integer(debug), DUP = FALSE, PACKAGE = "postCP")
     .C("postCPsample", rdata = data, rmu = mu, rsigma = sigma, lprob = as.double(lprob),
     rprobs = as.integer(probs), rlbackward = as.double(lbackward),
     cpvector = as.double(cpvector), levvector = as.double(levvector),
     rnsamples = as.integer(nsamples), nn = as.integer(n), JJ = as.integer(J),
     rnseg = as.integer(nseg), rmodel = as.integer(model), rprior = as.double(prior),
     rpriortype = as.integer(ptype), rlevelbased = as.integer(level.based),
     rverbose = as.integer(verbose), rlevelbased = as.integer(level.based),
     rdebug = as.integer(debug), DUP = FALSE, PACKAGE = "postCP")
     .C("viterbi2", data = as.double(data), lprob = as.double(lprob),
     rprobs = as.integer(probs), bestcp = as.double(bestcp), bestlevel = as.double(best.level),
     rprior = as.double(prior), rpriortype = as.integer(ptype),
     nn = as.integer(n), JJ = as.integer(J), rnseg = as.integer(nseg),
     rmu = as.double(rmu), rsigma = as.double(rsigma), rmodel = as.integer(model),
     level = as.integer(level.based), rverbose = as.integer(verbose),
     rdebug = as.integer(debug), DUP = FALSE, PACKAGE = "postCP")
    DUP = FALSE is deprecated and may be disabled in future versions of R.
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-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 1.7.2
Check: examples
Result: ERROR
    Running examples in ‘postCP-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: postCPmodelsel
    > ### Title: Model selection for change-point data.
    > ### Aliases: postCPmodelsel
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > require(postCP);
    > N=2000; x=c(rpois(N,2.0),rpois(2*N,2.2),rpois(N,1.9));
    > # estimate number of segments by ICL, AIC, BIC, mBIC assuming Poisson model
    > # choose number of segment (1 to 10) minimizing each criteria
    > postCPmodelsel(x,1:10,model=1);
    Error in cumsum(datasize)[breaks[k, 1:k]] :
     only 0's may be mixed with negative subscripts
    Calls: postCPmodelsel -> Segmentor -> Segmentor.default
    Execution halted
Flavors: r-patched-solaris-sparc, r-patched-solaris-x86