CRAN Package Check Results for Package surveynnet

Last updated on 2026-01-18 12:51:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 1.94 29.28 31.22 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 1.47 21.25 22.72 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 44.93 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 45.09 ERROR
r-devel-windows-x86_64 1.0.0 5.00 51.00 56.00 OK
r-patched-linux-x86_64 1.0.0 2.04 26.06 28.10 OK
r-release-linux-x86_64 1.0.0 1.98 26.26 28.24 OK
r-release-macos-arm64 1.0.0 OK
r-release-macos-x86_64 1.0.0 1.00 30.00 31.00 OK
r-release-windows-x86_64 1.0.0 4.00 51.00 55.00 OK
r-oldrel-macos-arm64 1.0.0 OK
r-oldrel-macos-x86_64 1.0.0 2.00 36.00 38.00 OK
r-oldrel-windows-x86_64 1.0.0 6.00 60.00 66.00 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘surveynnet-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: predict.surveynnet > ### Title: Predict response from fitted nnet, using new data > ### Aliases: predict.surveynnet > > ### ** Examples > > # From the example in `surveynnet` help file: > y <- body_fat$pct_body_fat > x <- body_fat[,c("Weight_kg", "Height_cm", "Age")] > weight <- body_fat$survey_wt > strat <- body_fat$stratum > clust <- body_fat$cluster > y[strat==1] <- y[strat==1] + 30*0.00015*rnorm(sum(strat==1)) > y[strat==2] <- y[strat==2] + 30*0.15*rnorm(sum(strat==2)) > myout <- surveynnet(x,y,weight = weight, strat = strat, clust=clust) Error in (function (w, strvar = NULL, clvar = NULL, clnest = NULL, Wh = NULL, : If sample is stratified and clustered, clnest must be either TRUE or FALSE. Calls: surveynnet -> do.call -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘surveynnet-Ex.R’ failed The error most likely occurred in: > ### Name: predict.surveynnet > ### Title: Predict response from fitted nnet, using new data > ### Aliases: predict.surveynnet > > ### ** Examples > > # From the example in `surveynnet` help file: > y <- body_fat$pct_body_fat > x <- body_fat[,c("Weight_kg", "Height_cm", "Age")] > weight <- body_fat$survey_wt > strat <- body_fat$stratum > clust <- body_fat$cluster > y[strat==1] <- y[strat==1] + 30*0.00015*rnorm(sum(strat==1)) > y[strat==2] <- y[strat==2] + 30*0.15*rnorm(sum(strat==2)) > myout <- surveynnet(x,y,weight = weight, strat = strat, clust=clust) Error in (function (w, strvar = NULL, clvar = NULL, clnest = NULL, Wh = NULL, : If sample is stratified and clustered, clnest must be either TRUE or FALSE. Calls: surveynnet -> do.call -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc