R Under development (unstable) (2024-10-16 r87241 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > > require(OneStep) Loading required package: OneStep Loading required package: fitdistrplus Loading required package: MASS Loading required package: survival Loading required package: numDeriv Loading required package: parallel Loading required package: extraDistr > require(actuar) Loading required package: actuar Attaching package: 'actuar' The following objects are masked from 'package:extraDistr': dgumbel, dinvgamma, dpareto, pgumbel, pinvgamma, ppareto, qgumbel, qinvgamma, qpareto, rgumbel, rinvgamma, rpareto The following objects are masked from 'package:stats': sd, var The following object is masked from 'package:grDevices': cm > > n <- 1e3 > > x <- rexp(n) > try( benchonestep(x, "exp", "jaimeleraisindetable") ) Error in match.arg(x, c("mme", "mle", "onestep")) : 'arg' should be one of "mme", "mle", "onestep" > try( benchonestep(x, "exp") ) Error in benchonestep(x, "exp") : argument "methods" is missing, with no default > try( benchonestep(x, "exp2", "mle") ) Error in get(fun, mode = "function", envir = envir) : object 'dexp2' of mode 'function' was not found > try( benchonestep(matrix(x, 2, n/2), "exp2", "mle") ) Error in benchonestep(matrix(x, 2, n/2), "exp2", "mle") : data must be a numeric vector of length greater than 1 > > > > proc.time() user system elapsed 1.60 0.28 1.87