Last updated on 2026-10-14 18:52:42 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.3.1 | 9.43 | 92.08 | 101.51 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.3.1 | 7.67 | 68.17 | 75.84 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.3.1 | 71.91 | NOTE | |||
| r-devel-linux-x86_64-fedora-gcc | 1.3.1 | 68.80 | NOTE | |||
| r-devel-windows-x86_64 | 1.3.1 | 14.00 | 102.00 | 116.00 | ERROR | |
| r-patched-linux-x86_64 | 1.3.1 | 10.25 | 84.33 | 94.58 | OK | |
| r-release-linux-x86_64 | 1.3.1 | 9.72 | 83.21 | 92.93 | OK | |
| r-release-macos-arm64 | 1.3.1 | 3.00 | 23.00 | 26.00 | OK | |
| r-release-macos-x86_64 | 1.3.1 | 7.00 | 111.00 | 118.00 | OK | |
| r-release-windows-x86_64 | 1.3.1 | 12.00 | 102.00 | 114.00 | OK | |
| r-oldrel-macos-arm64 | 1.3.1 | OK | ||||
| r-oldrel-macos-x86_64 | 1.3.1 | 7.00 | 75.00 | 82.00 | OK | |
| r-oldrel-windows-x86_64 | 1.3.1 | 18.00 | 119.00 | 137.00 | OK |
Version: 1.3.1
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘caret’ ‘dplyr’ ‘scales’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.3.1
Check: examples
Result: ERROR
Running examples in 'refitME-Ex.R' failed
The error most likely occurred in:
> ### Name: MCEMfit_gam
> ### Title: Function for wrapping the MCEM algorithm on 'gam' objects
> ### Aliases: MCEMfit_gam
>
> ### ** Examples
>
> # A GAM example using the air pollution data set from the SemiPar package.
>
> library(refitME)
> library(mgcv)
Loading required package: nlme
This is mgcv 1.9-4. For overview type '?mgcv'.
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:nlme':
collapse
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
>
> data(Milanmortdata)
>
> dat.air <- sample_n(Milanmortdata, 100) # Takes a random sample of size 100.
>
> Y <- dat.air[, 6] # Mortality counts.
>
> n <- length(Y)
>
> z1 <- (dat.air[, 1])
> z2 <- (dat.air[, 4])
> z3 <- (dat.air[, 5])
> w1 <- log(dat.air[, 9]) # The error-contaminated predictor (total suspended particles).
>
> dat <- data.frame(cbind(Y, w1, z1, z2, z3))
>
> gam_naiv <- gam(Y ~ s(w1), family = "poisson", data = dat)
>
> sigma.sq.u <- 0.0915 # Measurement error variance.
>
> B <- 10 # Consider increasing this if you want a more accurate answer.
>
> gam_MCEM <- refitME(gam_naiv, sigma.sq.u, B)
One specified error-contaminated predictor/covariate.
convergence :-)
[1] 12
Error in get(method, envir = home) :
cannot open file 'D:/temp/2026_10_12_01_50_00_23142/Rtmp8Qozde/RLIBS_32f8835e71e93/mgcv/R/mgcv.rdb': No such file or directory
Calls: refitME ... MCEMfit_gam -> <Anonymous> -> estfun.glm -> model.matrix -> get
Execution halted
Flavor: r-devel-windows-x86_64