Last updated on 2025-08-29 01:51:27 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.2.2 | 7.42 | 76.53 | 83.95 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.2.2 | 5.80 | 55.01 | 60.81 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.2.2 | 133.68 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.2.2 | 132.64 | ERROR | |||
r-devel-windows-x86_64 | 1.2.2 | 8.00 | 95.00 | 103.00 | OK | |
r-patched-linux-x86_64 | 1.2.2 | 7.48 | 72.09 | 79.57 | OK | |
r-release-linux-x86_64 | 1.2.2 | 6.59 | 70.07 | 76.66 | OK | |
r-release-macos-arm64 | 1.2.2 | 61.00 | OK | |||
r-release-macos-x86_64 | 1.2.2 | 99.00 | OK | |||
r-release-windows-x86_64 | 1.2.2 | 8.00 | 93.00 | 101.00 | OK | |
r-oldrel-macos-arm64 | 1.2.2 | 56.00 | OK | |||
r-oldrel-macos-x86_64 | 1.2.2 | 150.00 | OK | |||
r-oldrel-windows-x86_64 | 1.2.2 | 11.00 | 116.00 | 127.00 | OK |
Version: 1.2.2
Check: examples
Result: ERROR
Running examples in ‘catregs-Ex.R’ failed
The error most likely occurred in:
> ### Name: compare.margins
> ### Title: Compares two marginal effects (MEMs or AMEs). Estimate of
> ### uncertainty is from a simulated draw from a normal distribution.
> ### Aliases: compare.margins
>
> ### ** Examples
>
> data("essUK")
> m1 <- glm(safe ~ religious + minority*female + age,data=essUK,family="binomial")
> des<-margins.des(m1,expand.grid(minority=c(0,1),female=c(0,1)))
> des
minority female religious age
1 0 0 3.602404 53.14563
2 1 0 3.602404 53.14563
3 0 1 3.602404 53.14563
4 1 1 3.602404 53.14563
> ma1<-suppressWarnings(as.data.frame(marginaleffects::avg_slopes(m1,
+ variables="female",newdata=data.frame(minority=0,religious=3.6024,age=53.146))))
Error: There is no valid predictor variable. Please change the `variables` argument or supply an alternative data frame to the `newdata` argument.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.2.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘compare.margins.Rmd’ using rmarkdown
Quitting from compare.margins.Rmd:15-25 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! There is no valid predictor variable. Please change the `variables` argument or supply an alternative data frame to the `newdata` argument.
---
Backtrace:
▆
1. └─marginaleffects::comparisons(...)
2. └─marginaleffects:::add_variables(variables = variables, mfx = mfx)
3. └─marginaleffects:::get_predictors(variables, mfx)
4. └─marginaleffects (local) stop_zero(predictors)
5. └─marginaleffects:::stop_sprintf(msg)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'compare.margins.Rmd' failed with diagnostics:
There is no valid predictor variable. Please change the `variables` argument or supply an alternative data frame to the `newdata` argument.
--- failed re-building ‘compare.margins.Rmd’
--- re-building ‘count.fit.Rmd’ using rmarkdown
--- finished re-building ‘count.fit.Rmd’
--- re-building ‘daign.Rmd’ using rmarkdown
--- finished re-building ‘daign.Rmd’
--- re-building ‘first.diff.fitted.Rmd’ using rmarkdown
--- finished re-building ‘first.diff.fitted.Rmd’
--- re-building ‘list.coef.Rmd’ using rmarkdown
--- finished re-building ‘list.coef.Rmd’
--- re-building ‘margins.dat.Rmd’ using rmarkdown
--- finished re-building ‘margins.dat.Rmd’
--- re-building ‘margins.dat.clogit.Rmd’ using rmarkdown
--- finished re-building ‘margins.dat.clogit.Rmd’
--- re-building ‘margins.des.Rmd’ using rmarkdown
--- finished re-building ‘margins.des.Rmd’
--- re-building ‘rubins.rule.Rmd’ using rmarkdown
--- finished re-building ‘rubins.rule.Rmd’
--- re-building ‘second.diff.fitted.Rmd’ using rmarkdown
--- finished re-building ‘second.diff.fitted.Rmd’
SUMMARY: processing the following file failed:
‘compare.margins.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc