CRAN Package Check Results for Package fitdistrplus

Last updated on 2025-11-16 01:49:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2-4 17.70 509.97 527.67 OK
r-devel-linux-x86_64-debian-gcc 1.2-4 10.46 349.82 360.28 OK
r-devel-linux-x86_64-fedora-clang 1.2-4 90.00 792.71 882.71 OK
r-devel-linux-x86_64-fedora-gcc 1.2-4 36.00 882.94 918.94 OK
r-devel-windows-x86_64 1.2-4 21.00 556.00 577.00 OK
r-patched-linux-x86_64 1.2-4 18.75 492.35 511.10 OK
r-release-linux-x86_64 1.2-4 17.38 496.46 513.84 OK
r-release-macos-arm64 1.2-4 7.00 263.00 270.00 OK
r-release-macos-x86_64 1.2-4 15.00 476.00 491.00 OK
r-release-windows-x86_64 1.2-4 18.00 548.00 566.00 OK
r-oldrel-macos-arm64 1.2-4 9.00 248.00 257.00 OK
r-oldrel-macos-x86_64 1.2-4 25.00 494.00 519.00 OK
r-oldrel-windows-x86_64 1.2-4 27.00 663.00 690.00 ERROR

Check Details

Version: 1.2-4
Check: tests
Result: ERROR Running 't-CIcdfplot.R' [23s] Running 't-Surv2fitdistcens.R' [3s] Running 't-bootdist.R' [12s] Running 't-bootdistcens.R' [4s] Running 't-cdfcomp.R' [6s] Running 't-cdfcompcens.R' [7s] Running 't-cvg-algo.R' [0s] Running 't-denscomp.R' [7s] Running 't-descdist.R' [3s] Running 't-detectbound.R' [3s] Running 't-fitbench.R' [0s] Running 't-fitdist-burr.R' [33s] Running 't-fitdist-customoptim.R' [2s] Running 't-fitdist-hessianpb.R' [2s] Running 't-fitdist-test-arguments.R' [2s] Running 't-fitdist.R' [4s] Running 't-fitdistcens.R' [5s] Running 't-gen-max-spacing-estim.R' [3s] Running 't-getparam.R' [2s] Running 't-gofstat.R' [2s] Running 't-init-actuar.R' [0s] Running 't-llplot.R' [4s] Running 't-lnL-surf.R' [3s] Running 't-logLik-vcov-coef.R' [3s] Running 't-manageparam.R' [2s] Running 't-mgedist.R' [5s] Running 't-mledist-asymptotic-vcov.R' [2s] Running 't-mledist-cens.R' [2s] Running 't-mledist-cvg-NelderMead.R' [0s] Running 't-mledist-nocens.R' [4s] Running 't-mledist-paramsupport.R' [7s] Running 't-mmedist-asymptotic-vcov.R' [3s] Running 't-mmedist.R' [6s] Running 't-msedist.R' [4s] Running 't-parallel.R' [0s] Running 't-plotdist.R' [3s] Running 't-plotdistcens.R' [4s] Running 't-ppcomp.R' [6s] Running 't-ppcompcens.R' [6s] Running 't-prefit.R' [3s] Running 't-qme-discrete.R' [11s] Running 't-qmedist-cvg-NelderMead.R' [0s] Running 't-qmedist.R' [7s] Running 't-qqcomp.R' [8s] Running 't-qqcompcens.R' [7s] Running 't-quantiledist.R' [3s] Running 't-startfixarg-overall.R' [4s] Running 't-starting-value-scale-rate.R' [3s] Running 't-startingvalues-fellerpareto-family.R' [5s] Running 't-startingvalues-inv-family.R' [20s] Running 't-startingvalues-invBurr-family.R' [6s] Running 't-startingvalues-invtrgamma-family.R' [3s] Running 't-startingvalues-othercont-family.R' [6s] Running 't-startingvalues-trgamma-family.R' [3s] Running 't-startingvalues-zeromod-family.R' [3s] Running 't-startingvalues-zerotrunc-family.R' [3s] Running 't-startingvalues.R' [3s] Running 't-util-mmedist-vcov.R' [2s] Running 't-util-npmle.R' [3s] Running 't-util-npsurv-mainfunction.R' [2s] Running 't-util-testdensity.R' [3s] Running 't-weird-ppcomp-cens.R' [2s] Running 't-weird-qqcomp-cens.R' [3s] Running the tests in 'tests/t-prefit.R' failed. Complete output: > require("fitdistrplus") Loading required package: fitdistrplus Loading required package: MASS Loading required package: survival > nsample <- 10 > > # (1) gamma > x <- rgamma(nsample, 5/2, 7/2) > > prefit(x, "gamma", "mle", list(shape=3, scale=3), lower=-Inf, upper=Inf, silent=TRUE, control=list(trace=1, REPORT=1)) initial value 4.292493 iter 2 value 4.124565 iter 3 value 2.630309 iter 4 value 2.407283 iter 5 value 2.262597 iter 6 value 2.243594 iter 7 value 2.243462 iter 8 value 2.243009 iter 9 value 2.242890 iter 9 value 2.242890 iter 9 value 2.242890 final value 2.242890 converged $shape [1] 7.917429 $scale [1] 8.897126 > prefit(x, "gamma", "mle", list(shape=1, scale=1), lower=-Inf, upper=Inf, silent=TRUE) $shape [1] 7.917426 $scale [1] 8.897126 > > prefit(x, "gamma", "mle", list(shape=3), fix.arg=list(scale=7/2), lower=-Inf, upper=Inf, silent=TRUE) $shape [1] 0.6305685 > > prefit(x, "gamma", "qme", list(shape=1, scale=1), probs=1:2/3, lower=-Inf, upper=Inf, silent=TRUE) $shape [1] 26.74468 $scale [1] 27.91482 > > prefit(x, "gamma", "mge", list(shape=1, scale=1), gof="CvM", lower=-Inf, upper=Inf, silent=TRUE) $shape [1] 8.457553 $scale [1] 9.003342 > prefit(x, "gamma", "mge", list(shape=1, scale=1), gof="AD", lower=-Inf, upper=Inf, silent=TRUE) $shape [1] 6.679043 $scale [1] 7.234845 > > # (2) geometric > x <- rgeom(nsample, 1/7) > prefit(x, "geom", "mle", list(prob=1/2), lower=-Inf, upper=Inf, silent=TRUE) $prob [1] 0.133332 > tbx <- table(x) > prefit(as.numeric(names(tbx)), "geom", "mle", list(prob=1/2), lower=-Inf, upper=Inf, silent=TRUE, weights=tbx) $prob [1] 0.133332 > prefit(x, "geom", "qme", list(prob=1/2), probs=1/2, lower=-Inf, upper=Inf) $prob [1] 0.09621554 > > > # (3) Pareto > require("actuar") Loading required package: actuar Attaching package: 'actuar' The following objects are masked from 'package:stats': sd, var The following object is masked from 'package:grDevices': cm > x <- rpareto(nsample, 6, 2) > > prefit(x, "pareto", "mme", list(shape=10, scale=10), order=1:2, memp=function(x, order) mean(x^order), lower=-Inf, upper=Inf) Error in prefit(x, "pareto", "mme", list(shape = 10, scale = 10), order = 1:2, : unsuccessful pre-fitting process Execution halted Flavor: r-oldrel-windows-x86_64