R Under development (unstable) (2024-09-03 r87093 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(gKRLS) Loading required package: mgcv Loading required package: nlme This is mgcv 1.9-1. For overview type 'help("mgcv-package")'. Loading required package: sandwich > > test_check("gKRLS") INFO [04:42:50.101] [mlr3] Applying learner 'classif.bam' on task 'nuis_m' (iter 1/2) INFO [04:42:50.513] [mlr3] Applying learner 'classif.bam' on task 'nuis_m' (iter 2/2) INFO [04:42:50.900] [mlr3] Applying learner 'regr.bam' on task 'nuis_g0' (iter 1/2) INFO [04:42:51.213] [mlr3] Applying learner 'regr.bam' on task 'nuis_g0' (iter 2/2) INFO [04:42:51.625] [mlr3] Applying learner 'regr.bam' on task 'nuis_g1' (iter 1/2) INFO [04:42:51.858] [mlr3] Applying learner 'regr.bam' on task 'nuis_g1' (iter 2/2) Bivariate smoothing example Bivariate smoothing example [1] "derivative" [1] "second_derivative" Distribution of Pointwise Marginal Effects: N = 200 (Intercept) x1 x2 25% -0.001900025 -0.1139238 -0.07130014 50% -0.001843025 0.0601889 -0.05431280 75% -0.001574822 0.2717062 -0.02734085 Summary of Average Marginal Effects est se t.stat p.value (Intercept) -0.001673628 0.20599894 -0.008124448 0.993526152 x1 0.098231155 0.03707063 2.649837808 0.008725682 x2 -0.047751134 0.03785936 -1.261276968 0.208742462 variable type est se t p.value 1 x1 derivative 0.09823115 0.03707063 2.649838 0.008725682 2 x2 derivative -0.04775113 0.03785949 -1.261273 0.208744025 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 204 ] > > proc.time() user system elapsed 62.98 2.32 66.75