CRAN Package Check Results for Package spsurvey

Last updated on 2026-05-05 03:50:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 5.6.0 31.67 287.71 319.38 OK
r-devel-linux-x86_64-debian-gcc 5.6.0 20.76 183.22 203.98 ERROR
r-devel-linux-x86_64-fedora-clang 5.6.0 60.00 470.83 530.83 ERROR
r-devel-linux-x86_64-fedora-gcc 5.6.0 52.00 441.64 493.64 ERROR
r-devel-windows-x86_64 5.6.1 30.00 260.00 290.00 OK
r-patched-linux-x86_64 5.6.0 31.58 265.50 297.08 OK
r-release-linux-x86_64 5.6.0 30.81 266.25 297.06 OK
r-release-macos-arm64 5.6.1 7.00 64.00 71.00 OK
r-release-macos-x86_64 5.6.1 21.00 306.00 327.00 OK
r-release-windows-x86_64 5.6.0 32.00 258.00 290.00 OK
r-oldrel-macos-arm64 5.6.1 7.00 59.00 66.00 OK
r-oldrel-macos-x86_64 5.6.1 20.00 484.00 504.00 OK
r-oldrel-windows-x86_64 5.6.0 43.00 357.00 400.00 OK

Check Details

Version: 5.6.0
Check: examples
Result: ERROR Running examples in ‘spsurvey-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cont_cdftest > ### Title: Cumulative distribution function (CDF) inference for a > ### probability survey > ### Aliases: cont_cdftest > ### Keywords: survey > > ### ** Examples > > n <- 200 > mysiteID <- paste("Site", 1:n, sep = "") > dframe <- data.frame( + siteID = mysiteID, + wgt = runif(n, 10, 100), + xcoord = runif(n), + ycoord = runif(n), + stratum = rep(c("Stratum1", "Stratum2"), n / 2), + Resource_Class = sample(c("Agr", "Forest", "Urban"), n, replace = TRUE) + ) > ContVar <- numeric(n) > tst <- dframe$Resource_Class == "Agr" > ContVar[tst] <- rnorm(sum(tst), 10, 1) > tst <- dframe$Resource_Class == "Forest" > ContVar[tst] <- rnorm(sum(tst), 10.1, 1) > tst <- dframe$Resource_Class == "Urban" > ContVar[tst] <- rnorm(sum(tst), 10.5, 1) > dframe$ContVar <- ContVar > myvars <- c("ContVar") > mysubpops <- c("Resource_Class") > mypopsize <- data.frame( + Resource_Class = rep(c("Agr", "Forest", "Urban"), rep(2, 3)), + stratum = rep(c("Stratum1", "Stratum2"), 3), + Total = c(2500, 1500, 1000, 500, 600, 450) + ) > cont_cdftest(dframe, + vars = myvars, subpops = mysubpops, siteID = "siteID", + weight = "wgt", xcoord = "xcoord", ycoord = "ycoord", + stratumID = "stratum", popsize = mypopsize, testname = "RaoScott_First" + ) Error in as.data.frame.integer(x[[i]], optional = TRUE) : row names contain missing values Calls: cont_cdftest ... data.frame -> as.data.frame -> as.data.frame.integer Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 5.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [56s/72s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(spsurvey) Loading required package: sf Linking to GEOS 3.14.1, GDAL 3.12.3, PROJ 9.8.1; sf_use_s2() is TRUE Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart > > test_check("spsurvey") Saving _problems/test-cont_cdftest-92.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 814 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cont_cdftest.R:88:1'): (code run outside of `test_that()`) ───── Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values Backtrace: ▆ 1. └─spsurvey::cont_cdftest(...) at test-cont_cdftest.R:88:1 2. ├─base::rbind(...) 3. └─base::data.frame(...) 4. ├─base::as.data.frame(x[[i]], optional = TRUE) 5. └─base::as.data.frame.integer(x[[i]], optional = TRUE) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 814 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 5.6.0
Check: examples
Result: ERROR Running examples in ‘spsurvey-Ex.R’ failed The error most likely occurred in: > ### Name: cont_cdftest > ### Title: Cumulative distribution function (CDF) inference for a > ### probability survey > ### Aliases: cont_cdftest > ### Keywords: survey > > ### ** Examples > > n <- 200 > mysiteID <- paste("Site", 1:n, sep = "") > dframe <- data.frame( + siteID = mysiteID, + wgt = runif(n, 10, 100), + xcoord = runif(n), + ycoord = runif(n), + stratum = rep(c("Stratum1", "Stratum2"), n / 2), + Resource_Class = sample(c("Agr", "Forest", "Urban"), n, replace = TRUE) + ) > ContVar <- numeric(n) > tst <- dframe$Resource_Class == "Agr" > ContVar[tst] <- rnorm(sum(tst), 10, 1) > tst <- dframe$Resource_Class == "Forest" > ContVar[tst] <- rnorm(sum(tst), 10.1, 1) > tst <- dframe$Resource_Class == "Urban" > ContVar[tst] <- rnorm(sum(tst), 10.5, 1) > dframe$ContVar <- ContVar > myvars <- c("ContVar") > mysubpops <- c("Resource_Class") > mypopsize <- data.frame( + Resource_Class = rep(c("Agr", "Forest", "Urban"), rep(2, 3)), + stratum = rep(c("Stratum1", "Stratum2"), 3), + Total = c(2500, 1500, 1000, 500, 600, 450) + ) > cont_cdftest(dframe, + vars = myvars, subpops = mysubpops, siteID = "siteID", + weight = "wgt", xcoord = "xcoord", ycoord = "ycoord", + stratumID = "stratum", popsize = mypopsize, testname = "RaoScott_First" + ) Error in as.data.frame.integer(x[[i]], optional = TRUE) : row names contain missing values Calls: cont_cdftest ... data.frame -> as.data.frame -> as.data.frame.integer Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 5.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [152s/288s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(spsurvey) Loading required package: sf Linking to GEOS 3.13.0, GDAL 3.11.5, PROJ 9.6.2; sf_use_s2() is TRUE Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart > > test_check("spsurvey") Saving _problems/test-cont_cdftest-92.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 814 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cont_cdftest.R:88:1'): (code run outside of `test_that()`) ───── Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values Backtrace: ▆ 1. └─spsurvey::cont_cdftest(...) at test-cont_cdftest.R:88:1 2. ├─base::rbind(...) 3. └─base::data.frame(...) 4. ├─base::as.data.frame(x[[i]], optional = TRUE) 5. └─base::as.data.frame.integer(x[[i]], optional = TRUE) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 814 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 5.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [143s/185s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(spsurvey) Loading required package: sf Linking to GEOS 3.13.0, GDAL 3.10.3, PROJ 9.6.2; sf_use_s2() is TRUE Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart > > test_check("spsurvey") Saving _problems/test-cont_cdftest-92.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 814 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cont_cdftest.R:88:1'): (code run outside of `test_that()`) ───── Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values Backtrace: ▆ 1. └─spsurvey::cont_cdftest(...) at test-cont_cdftest.R:88:1 2. ├─base::rbind(...) 3. └─base::data.frame(...) 4. ├─base::as.data.frame(x[[i]], optional = TRUE) 5. └─base::as.data.frame.integer(x[[i]], optional = TRUE) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 814 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc