CRAN Package Check Results for Package postCP

Last updated on 2014-09-21 08:48:46.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.2 1.73 13.71 15.44 ERROR
r-devel-linux-x86_64-debian-gcc 1.7.2 1.91 13.49 15.40 ERROR
r-devel-linux-x86_64-fedora-clang 1.7.2 30.34 ERROR
r-devel-linux-x86_64-fedora-gcc 1.7.2 28.40 ERROR
r-devel-osx-x86_64-clang 1.7.2 27.26 ERROR
r-devel-windows-ix86+x86_64 1.7.2 10.00 30.00 40.00 ERROR
r-patched-linux-x86_64 1.7.2 1.98 19.50 21.48 NOTE
r-patched-solaris-sparc 1.7.2 223.80 ERROR
r-patched-solaris-x86 1.7.2 50.30 ERROR
r-release-linux-ix86 1.7.2 2.80 27.67 30.48 NOTE
r-release-linux-x86_64 1.7.2 1.99 20.04 22.03 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 8.00 46.00 54.00 NOTE
r-oldrel-windows-ix86+x86_64 1.7.2 10.00 50.00 60.00 NOTE

Memtest notes: valgrind

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:
     .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 is no longer supported and will be ignored.
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

Version: 1.7.2
Check: R code for possible problems
Result: NOTE
    mleNB: no visible global function definition for ‘fitdistr’
    postCP.default: no visible global function definition for ‘Segmentor’
    postCP.default: no visible global function definition for ‘getBreaks’
    postCP.default: no visible global function definition for
     ‘getParameters’
    postCP.default: no visible global function definition for
     ‘getOverdispersion’
    postCPcrit: no visible global function definition for ‘Segmentor’
    postCPcrit: no visible global function definition for ‘getBreaks’
    postCPcrit: no visible global function definition for ‘getParameters’
    postCPcrit: no visible global function definition for
     ‘getOverdispersion’
    postCPmodelsel: no visible global function definition for ‘Segmentor’
    postCPmodelsel: no visible global function definition for ‘getBreaks’
    postCPmodelsel : modelsel1: no visible global function definition for
     ‘getBreaks’
    postCPmodelsel : modelsel1: no visible global function definition for
     ‘getParameters’
    postCPmodelsel : modelsel1: no visible global function definition for
     ‘getOverdispersion’
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

Version: 1.7.2
Check: examples
Result: ERROR
    Running examples in ‘postCP-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plot.postCP
    > ### Title: Plot method for postCP.
    > ### Aliases: plot.postCP
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > require(postCP);
    > N=2000; x=c(rpois(N,2.0),rpois(2*N,2.2),rpois(N,1.9));
    > # obtain 85% confidence intervals for changepoints, keep forward and backward matrices
    > res=postCP(data=x,seg=c(N,3*N),keep=TRUE, ci=0.85);
    
    Calculating forward matrix...
    
    Calculating backward matrix...
    normal?v 0
    
    Applying Viterbi algorithm ...
    Estimating confidence intervals...
    
     log(pevidence)=-19398.54203165=-19398.54203165
    > par(mfrow=c(1,2))
    > ## Use results from forward-backward algorithm to plot data and posterior change-point probabilities
    > plot(res);
    Error in axis(side = 4, labels = format(crj), at = crj/range1 * diff(ylim) + :
     no locations are finite
    Calls: plot -> plot.postCP -> axis
    Execution halted
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

Version: 1.7.2
Check: running examples for arch 'i386'
Result: ERROR
    Running examples in 'postCP-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot.postCP
    > ### Title: Plot method for postCP.
    > ### Aliases: plot.postCP
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > require(postCP);
    > N=2000; x=c(rpois(N,2.0),rpois(2*N,2.2),rpois(N,1.9));
    > # obtain 85% confidence intervals for changepoints, keep forward and backward matrices
    > res=postCP(data=x,seg=c(N,3*N),keep=TRUE, ci=0.85);
    
    Calculating forward matrix...
    
    Calculating backward matrix...
    normal?v 0
    
    Applying Viterbi algorithm ...
    Estimating confidence intervals...
    
     log(pevidence)=-19398.54203165=-19398.54203165
    > par(mfrow=c(1,2))
    > ## Use results from forward-backward algorithm to plot data and posterior change-point probabilities
    > plot(res);
    Error in axis(side = 4, labels = format(crj), at = crj/range1 * diff(ylim) + :
     no locations are finite
    Calls: plot -> plot.postCP -> axis
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.7.2
Check: running examples for arch 'x64'
Result: ERROR
    Running examples in 'postCP-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot.postCP
    > ### Title: Plot method for postCP.
    > ### Aliases: plot.postCP
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > require(postCP);
    > N=2000; x=c(rpois(N,2.0),rpois(2*N,2.2),rpois(N,1.9));
    > # obtain 85% confidence intervals for changepoints, keep forward and backward matrices
    > res=postCP(data=x,seg=c(N,3*N),keep=TRUE, ci=0.85);
    
    Calculating forward matrix...
    
    Calculating backward matrix...
    normal?v 0
    
    Applying Viterbi algorithm ...
    Estimating confidence intervals...
    
     log(pevidence)=-19398.54203165=-19398.54203165
    > par(mfrow=c(1,2))
    > ## Use results from forward-backward algorithm to plot data and posterior change-point probabilities
    > plot(res);
    Error in axis(side = 4, labels = format(crj), at = crj/range1 * diff(ylim) + :
     no locations are finite
    Calls: plot -> plot.postCP -> axis
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.7.2
Check: foreign function calls
Result: NOTE
    Calls with DUP != TRUE:
     .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 will be disabled in future versions of R.
Flavors: r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86

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

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-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64