CRAN Package Check Results for Package momentfit

Last updated on 2026-11-09 00:53:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 18.61 195.13 213.74 OK
r-devel-linux-x86_64-debian-gcc 1.0 11.26 92.58 103.84 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 11.00 OK
r-devel-linux-x86_64-fedora-gcc 1.0 11.00 133.69 144.69 OK
r-devel-windows-x86_64 1.0 21.00 306.00 327.00 OK
r-patched-linux-x86_64 1.0 OK
r-release-linux-x86_64 1.0 15.78 179.54 195.32 OK
r-release-macos-arm64 1.0 4.00 45.00 49.00 OK
r-release-macos-x86_64 1.0 13.00 198.00 211.00 OK
r-release-windows-x86_64 1.0 21.00 257.00 278.00 OK
r-oldrel-macos-arm64 1.0 OK
r-oldrel-macos-x86_64 1.0 12.00 228.00 240.00 OK
r-oldrel-windows-x86_64 1.0 28.00 299.00 327.00 OK

Check Details

Version: 1.0
Check: examples
Result: ERROR Running examples in ‘momentfit-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: coef-methods > ### Title: ~~ Methods for Function 'coef' in Package 'stats' ~~ > ### Aliases: coef-methods coef,gmmfit-method coef,gelfit-method > ### coef,sgmmfit-method coef,rlinearModel-method > ### coef,rslinearModel-method coef,rsnonlinearModel-method > ### coef,rfunctionModel-method coef,rformulaModel-method > ### coef,momentModel-method coef,rnonlinearModel-method > ### Keywords: methods > > ### ** Examples > > data(simData) > model1 <- momentModel(y~x1+x2+x3+z1, ~x1+x2+z1+z2+z3+z4, data=simData) > res1 <- gmmFit(model1) > coef(res1) (Intercept) x1 x2 x3 z1 0.51215380 1.01531777 -0.07356178 -0.19468975 -0.19081790 > > ### Restricted models > rmodel1 <- restModel(model1, R=c("x1=1", "x2=2*x3")) Error in validObject(.Object) : invalid class “rlinearModel” object: 1: k does not correspond to the number of regressor in modelF invalid class “rlinearModel” object: 2: the length of parNames is not equal to k Calls: restModel ... .local -> new -> initialize -> initialize -> validObject Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘weak.Rmd’ using rmarkdown --- finished re-building ‘weak.Rmd’ --- re-building ‘gelS4.Rnw’ using knitr Quitting from gelS4.Rnw:699-702 [unnamed-chunk-34] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `validObject()`: ! invalid class "rlinearModel" object: 1: k does not correspond to the number of regressor in modelF invalid class "rlinearModel" object: 2: the length of parNames is not equal to k --- Backtrace: x 1. +-momentfit::restModel(fit3@model, "x1=1") 2. \-momentfit::restModel(fit3@model, "x1=1") 3. \-momentfit (local) .local(object, ...) 4. \-methods::new(...) 5. +-methods::initialize(value, ...) 6. \-methods::initialize(value, ...) 7. \-methods::validObject(.Object) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'gelS4.Rnw' failed with diagnostics: invalid class "rlinearModel" object: 1: k does not correspond to the number of regressor in modelF invalid class "rlinearModel" object: 2: the length of parNames is not equal to k --- failed re-building ‘gelS4.Rnw’ --- re-building ‘gmmS4.Rnw’ using knitr Quitting from gmmS4.Rnw:674-679 [unnamed-chunk-37] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `validObject()`: ! invalid class "rlinearModel" object: 1: k does not correspond to the number of regressor in modelF invalid class "rlinearModel" object: 2: the length of parNames is not equal to k --- Backtrace: x 1. +-momentfit::restModel(UR.mod1, R1, q1) 2. \-momentfit::restModel(UR.mod1, R1, q1) 3. \-momentfit (local) .local(object, ...) 4. \-methods::new(...) 5. +-methods::initialize(value, ...) 6. \-methods::initialize(value, ...) 7. \-methods::validObject(.Object) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'gmmS4.Rnw' failed with diagnostics: invalid class "rlinearModel" object: 1: k does not correspond to the number of regressor in modelF invalid class "rlinearModel" object: 2: the length of parNames is not equal to k --- failed re-building ‘gmmS4.Rnw’ SUMMARY: processing the following files failed: ‘gelS4.Rnw’ ‘gmmS4.Rnw’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc