Running 't-CIcdfplot.R' [12s]
  Running 't-Surv2fitdistcens.R' [2s]
  Running 't-bootdist.R' [5s]
  Running 't-bootdistcens.R' [3s]
  Running 't-cdfcomp.R' [3s]
  Running 't-cdfcompcens.R' [4s]
  Running 't-cvg-algo.R' [0s]
  Running 't-denscomp.R' [4s]
  Running 't-descdist.R' [2s]
  Running 't-detectbound.R' [1s]
  Running 't-fitbench.R' [0s]
  Running 't-fitdist-customoptim.R' [2s]
  Running 't-fitdist.R' [3s]
  Running 't-fitdistcens.R' [4s]
  Running 't-gen-max-spacing-estim.R' [2s]
  Running 't-getparam.R' [1s]
  Running 't-gofstat.R' [2s]
  Running 't-init-actuar.R' [0s]
  Running 't-llplot.R' [3s]
  Running 't-lnL-surf.R' [2s]
  Running 't-logLik-vcov-coef.R' [2s]
  Running 't-manageparam.R' [2s]
  Running 't-mgedist.R' [3s]
  Running 't-mledist-cens.R' [2s]
  Running 't-mledist-nocens.R' [2s]
  Running 't-mledist-paramsupport.R' [3s]
  Running 't-mmedist.R' [4s]
  Running 't-msedist.R' [3s]
  Running 't-parallel.R' [0s]
  Running 't-plotdist.R' [2s]
  Running 't-plotdistcens.R' [2s]
  Running 't-ppcomp.R' [3s]
  Running 't-ppcompcens.R' [3s]
  Running 't-prefit.R' [2s]
  Running 't-qme-discrete.R' [6s]
  Running 't-qmedist.R' [5s]
  Running 't-qqcomp.R' [4s]
  Running 't-qqcompcens.R' [4s]
  Running 't-quantiledist.R' [2s]
  Running 't-startfixarg-overall.R' [3s]
  Running 't-startingvalues.R' [2s]
  Running 't-util-npmle.R' [2s]
  Running 't-util-npsurv-mainfunction.R' [2s]
  Running 't-util-testdensity.R' [2s]
  Running 't-weird-ppcomp-cens.R' [2s]
  Running 't-weird-qqcomp-cens.R' [2s]
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 5.529474 
  iter   2 value 4.334361
  iter   3 value 3.955832
  iter   4 value 3.797547
  iter   5 value 3.766011
  iter   6 value 3.765256
  iter   7 value 3.765252
  iter   8 value 3.765251
  iter   9 value 3.765250
  iter   9 value 3.765250
  iter   9 value 3.765250
  final  value 3.765250 
  converged
  $shape
  [1] 3.072675
  
  $scale
  [1] 4.419831
  
  > prefit(x, "gamma", "mle", list(shape=1, scale=1), lower=-Inf, upper=Inf, silent=TRUE)
  $shape
  [1] 3.07265
  
  $scale
  [1] 4.419797
  
  > 
  > prefit(x, "gamma", "mle", list(shape=3), fix.arg=list(scale=7/2), lower=-Inf, upper=Inf, silent=TRUE)
  $shape
  [1] 0.5378913
  
  > 
  > prefit(x, "gamma", "qme", list(shape=1, scale=1), probs=1:2/3, lower=-Inf, upper=Inf, silent=TRUE)
  $shape
  [1] 5.503738
  
  $scale
  [1] 8.52943
  
  > 
  > prefit(x, "gamma", "mge", list(shape=1, scale=1), gof="CvM", lower=-Inf, upper=Inf, silent=TRUE)
  $shape
  [1] 2.778961
  
  $scale
  [1] 4.072493
  
  > prefit(x, "gamma", "mge", list(shape=1, scale=1), gof="AD", lower=-Inf, upper=Inf, silent=TRUE)
  $shape
  [1] 2.643498
  
  $scale
  [1] 3.820047
  
  > 
  > # (2) geometric
  > x <- rgeom(nsample, 1/7)
  > prefit(x, "geom", "mle", list(prob=1/2), lower=-Inf, upper=Inf, silent=TRUE)
  $prob
  [1] 0.1923077
  
  > 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.1923077
  
  > prefit(x, "geom", "qme", list(prob=1/2), probs=1/2, lower=-Inf, upper=Inf)
  $prob
  [1] 0.3100255
  
  > 
  > 
  > # (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