CRAN Package Check Results for Package mgcViz

Last updated on 2026-11-21 00:52:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 23.65 226.55 250.20 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 14.17 159.93 174.10 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 17.00 155.16 172.16 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.1 15.00 149.17 164.17 ERROR
r-devel-windows-x86_64 0.2.1 27.00 375.00 402.00 OK
r-patched-linux-x86_64 0.2.1 23.40 288.90 312.30 OK
r-release-linux-x86_64 0.2.1 18.80 284.27 303.07 OK
r-release-macos-arm64 0.2.1 5.00 79.00 84.00 OK
r-release-macos-x86_64 0.2.1 14.00 312.00 326.00 OK
r-release-windows-x86_64 0.2.1 22.00 374.00 396.00 OK
r-oldrel-macos-arm64 0.2.1 OK
r-oldrel-macos-x86_64 0.2.1 13.00 179.00 192.00 OK
r-oldrel-windows-x86_64 0.2.1 34.00 495.00 529.00 OK

Check Details

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘mgcViz-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: plot.fs.interaction.1D > ### Title: Plotting one dimensional smooth factor interactions > ### Aliases: plot.fs.interaction.1D > > ### ** Examples > > library(mgcViz) > set.seed(0) > ## simulate data... > f0 <- function(x) 2 * sin(pi * x) > f1 <- function(x, a = 2, b = -1) exp(a * x) + b > f2 <- function(x) 0.2 * x^11 * (10 * (1 - x))^6 + 10 * + (10 * x)^3 * (1 - x)^10 > n <- 500; nf <- 25 > fac <- sample(1:nf, n, replace = TRUE) > x0 <- runif(n); x1 <- runif(n); x2 <- runif(n) > a <- rnorm(nf) * .2 + 2; b <- rnorm(nf) * .5 > f <- f0(x0) + f1(x1, a[fac], b[fac]) + f2(x2) > fac <- factor(fac) > y <- f + rnorm(n) * 2 > ## so response depends on global smooths of x0 and > ## x2, and a smooth of x1 for each level of fac. > > ## fit model (note p-values not available when fit > ## using gamm)... > bm <- gamm(y ~ s(x0)+ s(x1, fac, bs = "fs", k = 5) + s(x2, k = 20)) > v <- getViz(bm$gam) > > # Plot with fitted effects and changing title > plot(sm(v, 2)) + l_fitLine(alpha = 0.6) + labs(title = "Smooth factor interactions") > > # Changing plotting limits > plot(sm(v, 2)) + l_fitLine() + ylim(-0.5, 0.5) + xlim(0.25, 0.75) Warning: Incompatible methods ("+.gg", "Ops.ggproto") for "+" Error in plot(sm(v, 2)) + l_fitLine() + ylim(-0.5, 0.5) : non-numeric argument to binary operator Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed check1D 5.196 0.088 6.101 mqgamV 5.168 0.047 6.517 Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘mgcviz.rmd’ using rmarkdown Quitting from mgcviz.rmd:108-111 [8a] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `plot(sm(b, 1)) + l_fitRaster() + l_fitContour() + labs(title = NULL) + guides( fill = FALSE)`: ! non-numeric argument to binary operator --- Backtrace: ▆ 1. └─mgcViz::gridPrint(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mgcviz.rmd' failed with diagnostics: non-numeric argument to binary operator --- failed re-building ‘mgcviz.rmd’ SUMMARY: processing the following file failed: ‘mgcviz.rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘mgcViz-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: plot.fs.interaction.1D > ### Title: Plotting one dimensional smooth factor interactions > ### Aliases: plot.fs.interaction.1D > > ### ** Examples > > library(mgcViz) > set.seed(0) > ## simulate data... > f0 <- function(x) 2 * sin(pi * x) > f1 <- function(x, a = 2, b = -1) exp(a * x) + b > f2 <- function(x) 0.2 * x^11 * (10 * (1 - x))^6 + 10 * + (10 * x)^3 * (1 - x)^10 > n <- 500; nf <- 25 > fac <- sample(1:nf, n, replace = TRUE) > x0 <- runif(n); x1 <- runif(n); x2 <- runif(n) > a <- rnorm(nf) * .2 + 2; b <- rnorm(nf) * .5 > f <- f0(x0) + f1(x1, a[fac], b[fac]) + f2(x2) > fac <- factor(fac) > y <- f + rnorm(n) * 2 > ## so response depends on global smooths of x0 and > ## x2, and a smooth of x1 for each level of fac. > > ## fit model (note p-values not available when fit > ## using gamm)... > bm <- gamm(y ~ s(x0)+ s(x1, fac, bs = "fs", k = 5) + s(x2, k = 20)) > v <- getViz(bm$gam) > > # Plot with fitted effects and changing title > plot(sm(v, 2)) + l_fitLine(alpha = 0.6) + labs(title = "Smooth factor interactions") > > # Changing plotting limits > plot(sm(v, 2)) + l_fitLine() + ylim(-0.5, 0.5) + xlim(0.25, 0.75) Warning: Incompatible methods ("+.gg", "Ops.ggproto") for "+" Error in plot(sm(v, 2)) + l_fitLine() + ylim(-0.5, 0.5) : non-numeric argument to binary operator Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘mgcViz-Ex.R’ failed The error most likely occurred in: > ### Name: plot.fs.interaction.1D > ### Title: Plotting one dimensional smooth factor interactions > ### Aliases: plot.fs.interaction.1D > > ### ** Examples > > library(mgcViz) > set.seed(0) > ## simulate data... > f0 <- function(x) 2 * sin(pi * x) > f1 <- function(x, a = 2, b = -1) exp(a * x) + b > f2 <- function(x) 0.2 * x^11 * (10 * (1 - x))^6 + 10 * + (10 * x)^3 * (1 - x)^10 > n <- 500; nf <- 25 > fac <- sample(1:nf, n, replace = TRUE) > x0 <- runif(n); x1 <- runif(n); x2 <- runif(n) > a <- rnorm(nf) * .2 + 2; b <- rnorm(nf) * .5 > f <- f0(x0) + f1(x1, a[fac], b[fac]) + f2(x2) > fac <- factor(fac) > y <- f + rnorm(n) * 2 > ## so response depends on global smooths of x0 and > ## x2, and a smooth of x1 for each level of fac. > > ## fit model (note p-values not available when fit > ## using gamm)... > bm <- gamm(y ~ s(x0)+ s(x1, fac, bs = "fs", k = 5) + s(x2, k = 20)) > v <- getViz(bm$gam) > > # Plot with fitted effects and changing title > plot(sm(v, 2)) + l_fitLine(alpha = 0.6) + labs(title = "Smooth factor interactions") > > # Changing plotting limits > plot(sm(v, 2)) + l_fitLine() + ylim(-0.5, 0.5) + xlim(0.25, 0.75) Warning: Incompatible methods ("+.gg", "Ops.ggproto") for "+" Error in plot(sm(v, 2)) + l_fitLine() + ylim(-0.5, 0.5) : non-numeric argument to binary operator Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘mgcviz.rmd’ using rmarkdown Quitting from mgcviz.rmd:108-111 [8a] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `plot(sm(b, 1)) + l_fitRaster() + l_fitContour() + labs(title = NULL) + guides( fill = FALSE)`: ! non-numeric argument to binary operator --- Backtrace: ▆ 1. └─mgcViz::gridPrint(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mgcviz.rmd' failed with diagnostics: non-numeric argument to binary operator --- failed re-building ‘mgcviz.rmd’ SUMMARY: processing the following file failed: ‘mgcviz.rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc