CRAN Package Check Results for Package spacejamr

Last updated on 2022-01-25 05:54:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 3.62 77.22 80.84 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 2.99 53.94 56.93 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 93.44 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 77.51 ERROR
r-devel-windows-x86_64-new-UL 0.1.1 43.00 88.00 131.00 ERROR
r-devel-windows-x86_64-new-TK 0.1.1 ERROR
r-patched-linux-x86_64 0.1.1 3.14 74.03 77.17 OK
r-release-linux-x86_64 0.1.1 2.13 73.40 75.53 OK
r-release-macos-arm64 0.1.1 OK
r-release-macos-x86_64 0.1.1 OK
r-release-windows-ix86+x86_64 0.1.1 9.00 93.00 102.00 OK
r-oldrel-macos-x86_64 0.1.1 OK
r-oldrel-windows-ix86+x86_64 0.1.1 8.00 95.00 103.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘spacejamr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: NetSim
    > ### Title: Simulate a network from a point process or sequence
    > ### Aliases: NetSim
    >
    > ### ** Examples
    >
    > # Load spacejamr object
    > data("RI")
    >
    > ri_points <- PointSim(points = 10, window = RI, seed = 42)
    Error in methods::is(window, c("spacejamr", "owin")) :
     length(class2) == 1L is not TRUE
    Calls: PointSim ... validate_PointSim -> stopifnot -> <Anonymous> -> stopifnot
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [18s/32s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(spacejamr)
     >
     > test_check("spacejamr")
     Using the projected CRS WGS 84 / UTM zone 19N which uses 'm' for measurement units. Please visit https://spatialreference.org/ref/epsg/32619/ for more information about this CRS.
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-PointSim.R:8:5): we can simulate point processes ────────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI) test-PointSim.R:8:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-PointSim.R:16:5): we can generate a Halton Sequence ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI, type = halton) test-PointSim.R:16:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-compare.R:5:1): (code run outside of `test_that()`) ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-compare.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-generics.R:5:1): (code run outside of `test_that()`) ────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-generics.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘spacejamr-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: NetSim
    > ### Title: Simulate a network from a point process or sequence
    > ### Aliases: NetSim
    >
    > ### ** Examples
    >
    > # Load spacejamr object
    > data("RI")
    >
    > ri_points <- PointSim(points = 10, window = RI, seed = 42)
    Error in methods::is(window, c("spacejamr", "owin")) :
     length(class2) == 1L is not TRUE
    Calls: PointSim ... validate_PointSim -> stopifnot -> <Anonymous> -> stopifnot
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [30s/31s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(spacejamr)
     >
     > test_check("spacejamr")
     Using the projected CRS WGS 84 / UTM zone 19N which uses 'm' for measurement units. Please visit https://spatialreference.org/ref/epsg/32619/ for more information about this CRS.
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-PointSim.R:8:5): we can simulate point processes ────────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI) test-PointSim.R:8:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-PointSim.R:16:5): we can generate a Halton Sequence ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI, type = halton) test-PointSim.R:16:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-compare.R:5:1): (code run outside of `test_that()`) ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-compare.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-generics.R:5:1): (code run outside of `test_that()`) ────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-generics.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [29s/30s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(spacejamr)
     >
     > test_check("spacejamr")
     Using the projected CRS WGS 84 / UTM zone 19N which uses 'm' for measurement units. Please visit https://spatialreference.org/ref/epsg/32619/ for more information about this CRS.
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-PointSim.R:8:5): we can simulate point processes ────────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI) test-PointSim.R:8:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-PointSim.R:16:5): we can generate a Halton Sequence ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI, type = halton) test-PointSim.R:16:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-compare.R:5:1): (code run outside of `test_that()`) ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-compare.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-generics.R:5:1): (code run outside of `test_that()`) ────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-generics.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: tests
Result: ERROR
     Running 'testthat.R' [24s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(spacejamr)
     >
     > test_check("spacejamr")
     Using the projected CRS WGS 84 / UTM zone 19N which uses 'm' for measurement units. Please visit https://spatialreference.org/ref/epsg/32619/ for more information about this CRS.
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-PointSim.R:8:5): we can simulate point processes ────────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI) test-PointSim.R:8:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-PointSim.R:16:5): we can generate a Halton Sequence ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI, type = halton) test-PointSim.R:16:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-compare.R:5:1): (code run outside of `test_that()`) ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-compare.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-generics.R:5:1): (code run outside of `test_that()`) ────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-generics.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-UL

Version: 0.1.1
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(spacejamr)
     >
     > test_check("spacejamr")
     Using the projected CRS WGS 84 / UTM zone 19N which uses 'm' for measurement units. Please visit https://spatialreference.org/ref/epsg/32619/ for more information about this CRS.
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-PointSim.R:8:5): we can simulate point processes ────────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI) test-PointSim.R:8:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-PointSim.R:16:5): we can generate a Halton Sequence ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(points = 10, window = RI, type = halton) test-PointSim.R:16:4
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-compare.R:5:1): (code run outside of `test_that()`) ─────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-compare.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
     ── Error (test-generics.R:5:1): (code run outside of `test_that()`) ────────────
     Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
     Backtrace:
     █
     1. └─spacejamr::PointSim(3, RI) test-generics.R:5:0
     2. └─spacejamr:::new_PointSim(points, window, type, seed)
     3. └─spacejamr:::validate_PointSim(points, window, type, seed)
     4. ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
     5. └─methods::is(window, c("spacejamr", "owin"))
     6. └─base::stopifnot(length(class2) == 1L)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK