* using log directory 'd:/Rcompile/CRANpkg/local/4.4/predict3d.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'predict3d/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'predict3d' version '0.1.5' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'predict3d' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 ... [5s] OK * checking whether the package can be loaded with stated dependencies ... [4s] OK * checking whether the package can be unloaded cleanly ... [4s] OK * checking whether the namespace can be loaded with stated dependencies ... [4s] OK * checking whether the namespace can be unloaded cleanly ... [5s] OK * checking loading without being on the library search path ... [5s] 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] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [13s] ERROR Running examples in 'predict3d-Ex.R' failed The error most likely occurred in: > ### Name: ggPredict > ### Title: Visualize predictions from the multiple regression models. > ### Aliases: ggPredict > > ### ** Examples > > fit=loess(mpg~hp*wt*am,data=mtcars) Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, : pseudoinverse used at 1.1217 2.8465 -0.010111 Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, : neighborhood radius 5.2631 Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, : reciprocal condition number 5.8021e-17 Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, : There are other near singularities as well. 40.381 > ggPredict(fit) Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : pseudoinverse used at 1.1217 2.8465 -0.010111 Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : neighborhood radius 5.2631 Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : reciprocal condition number 5.8021e-17 Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : There are other near singularities as well. 40.381 Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : pseudoinverse used at 1.1217 2.8465 -0.010111 Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : neighborhood radius 5.2631 Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : reciprocal condition number 5.8021e-17 Warning in predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), : There are other near singularities as well. 40.381 Error in UseMethod("ggplot_build") : no applicable method for 'ggplot_build' applied to an object of class "c('gg', 'ggplot', 'ggPredict')" Calls: ggPredict -> getAspectRatio -> layer_scales -> ggplot_build Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [8s] ERROR Error(s) in re-building vignettes: --- re-building 'predict3d.Rmd' using rmarkdown Quitting from predict3d.Rmd:54-58 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `UseMethod()`: ! no applicable method for 'ggplot_build' applied to an object of class "c('gg', 'ggplot', 'ggPredict')" --- Backtrace: ▆ 1. └─predict3d::ggPredict(fit1, digits = 1) 2. └─predict3d::getAspectRatio(p) 3. └─ggplot2::layer_scales(p) 4. └─ggplot2::ggplot_build(plot) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'predict3d.Rmd' failed with diagnostics: no applicable method for 'ggplot_build' applied to an object of class "c('gg', 'ggplot', 'ggPredict')" --- failed re-building 'predict3d.Rmd' SUMMARY: processing the following file failed: 'predict3d.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 2 ERRORs