- using R Under development (unstable) (2025-02-19 r87749)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.0-rc2
flang version 20.1.0-rc2
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘ltable/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘ltable’ version ‘2.0.4’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘ltable’ can be installed ... [7s/11s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [16s/18s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [109s/162s] ERROR
Running examples in ‘ltable-Ex.R’ failed
The error most likely occurred in:
> ### Name: renewal
> ### Title: Function _renewal_
> ### Aliases: renewal
> ### Keywords: utilities
>
> ### ** Examples
>
> require(ltable)
> data(tdata, package="ltable")
> res1<-MCLogLin(Counts~smoker +contraceptive +tromb +
+ contraceptive*tromb, data=tdata, draw=5000, burnin=500)
Call:
MCLogLin(formula = Counts ~ smoker + contraceptive + tromb +
contraceptive * tromb, data = tdata, draw = 5000, burnin = 500)
Coefficients:
Estimate Std.Error |z-score| Pr(>|z|)
(Intercept) 4.415e+00 3.907e-01 1.130e+01 1.325e-29
smokerYes -9.726e-01 3.916e-01 2.483e+00 1.302e-02
contraceptiveYes -2.407e+00 5.858e-01 4.108e+00 3.988e-05
trombTrombol -1.192e+00 5.153e-01 2.313e+00 2.072e-02
contraceptiveYes:trombTrombol 2.450e+00 7.980e-01 3.070e+00 2.138e-03
phi 4.726e+00 7.393e-01 6.392e+00 1.634e-10
Model fit:
MCMC fitting
Samplers : Gibbs for expected counts, Slice for regr. coeff. and inv.var.par. phi
Language: R
Jacobian reciprocal condition number = 0.05062997
chisq/n = 0.02153245
Deviance= 0.01510963
NULL Deviance= 7.686497
Log.likelihood= -27.66856
AIC(1) = 65.33713
AIC(n) = 8.167141
BIC = 65.73433
Residuals report (Y denotes Counts):
Row Ovserved Y Predicted Y Raw Residual Pearson Residual Anscombe Residual
1 14 12.425 1.575 0.235 0.888
2 2 2.401 -0.401 -0.211 -0.534
3 7 7.433 -0.433 -0.099 -0.331
4 22 22.810 -0.810 -0.070 -0.328
5 12 13.588 -1.588 -0.219 -0.881
6 8 7.600 0.400 0.090 0.298
7 25 24.510 0.490 0.040 0.188
8 84 83.083 0.917 0.023 0.163
> renewal(res1[,1], Astate=5)
Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS.
Error in astart:lengthcprob : NA/NaN argument
Calls: renewal -> which
Execution halted
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR