CRAN Package Check Results for Package bcmaps

Last updated on 2022-08-15 08:49:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 11.33 125.56 136.89 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.2 8.97 90.43 99.40 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.2 172.66 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.2 169.23 ERROR
r-devel-windows-x86_64 1.0.2 38.00 151.00 189.00 NOTE
r-patched-linux-x86_64 1.0.2 7.82 117.79 125.61 NOTE
r-release-linux-x86_64 1.0.2 6.68 114.40 121.08 NOTE
r-release-macos-arm64 1.0.2 47.00 NOTE
r-release-macos-x86_64 1.0.2 85.00 NOTE
r-release-windows-x86_64 1.0.2 35.00 153.00 188.00 NOTE
r-oldrel-macos-arm64 1.0.2 43.00 NOTE
r-oldrel-macos-x86_64 1.0.2 53.00 NOTE
r-oldrel-windows-ix86+x86_64 1.0.2 24.00 146.00 170.00 NOTE

Additional issues

M1mac

Check Details

Version: 1.0.2
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [24s/62s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(bcmaps)
     Loading required package: sf
     Linking to GEOS 3.9.0, GDAL 3.4.3, PROJ 7.2.1; sf_use_s2() is TRUE
     >
     > test_check("bcmaps")
     [ FAIL 4 | WARN 0 | SKIP 17 | PASS 82 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (17)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-get_poly_attribute.R:17:5): works with numbers ────────────────
     get_poly_attribute(unioned_spdf$union_df, "a", sum) not equivalent to c(1, 2, 3).
     3/3 mismatches (average diff: 1.33)
     [1] 2 - 1 == 1
     [2] 3 - 2 == 1
     [3] 1 - 3 == -2
     ── Failure (test-get_poly_attribute.R:21:5): works with factors ────────────────
     get_poly_attribute(unioned_spdf$union_df, "c", max) not equal to factor(...).
     2 string mismatches
     ── Failure (test-self_union.R:33:5): works with SpatialPolygons ────────────────
     self_union(spp)@data not equal to `spp_out_data`.
     Attributes: < Component "row.names": Modes: numeric, character >
     Attributes: < Component "row.names": target is numeric, current is character >
     Component "union_count": Mean relative difference: 0.6666667
     Component "union_ids": names for current but not for target
     Component "union_ids": Component 1: Mean relative difference: 0.5
     Component "union_ids": Component 2: Numeric: lengths (2, 1) differ
     Component "union_ids": Component 3: Numeric: lengths (1, 2) differ
     ── Failure (test-self_union.R:39:5): works with SpatialPolygonsDataFrame ───────
     self_union(spdf)@data not equal to `spdf_out_data`.
     Attributes: < Component "row.names": Modes: numeric, character >
     Attributes: < Component "row.names": target is numeric, current is character >
     Component "union_count": Mean relative difference: 0.6666667
     Component "union_ids": names for current but not for target
     Component "union_ids": Component 1: Mean relative difference: 0.5
     Component "union_ids": Component 2: Numeric: lengths (2, 1) differ
     Component "union_ids": Component 3: Numeric: lengths (1, 2) differ
     Component "union_df": names for current but not for target
     Component "union_df": Component 1: Attributes: < Component "row.names": Mean relative difference: 0.5 >
     ...
    
     [ FAIL 4 | WARN 0 | SKIP 17 | PASS 82 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [25s/25s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(bcmaps)
     Loading required package: sf
     Linking to GEOS 3.9.0, GDAL 3.4.3, PROJ 7.2.1; sf_use_s2() is TRUE
     >
     > test_check("bcmaps")
     [ FAIL 4 | WARN 0 | SKIP 17 | PASS 82 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (17)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-get_poly_attribute.R:17:5): works with numbers ────────────────
     get_poly_attribute(unioned_spdf$union_df, "a", sum) not equivalent to c(1, 2, 3).
     3/3 mismatches (average diff: 1.33)
     [1] 2 - 1 == 1
     [2] 3 - 2 == 1
     [3] 1 - 3 == -2
     ── Failure (test-get_poly_attribute.R:21:5): works with factors ────────────────
     get_poly_attribute(unioned_spdf$union_df, "c", max) not equal to factor(...).
     2 string mismatches
     ── Failure (test-self_union.R:33:5): works with SpatialPolygons ────────────────
     self_union(spp)@data not equal to `spp_out_data`.
     Attributes: < Component "row.names": Modes: numeric, character >
     Attributes: < Component "row.names": target is numeric, current is character >
     Component "union_count": Mean relative difference: 0.6666667
     Component "union_ids": names for current but not for target
     Component "union_ids": Component 1: Mean relative difference: 0.5
     Component "union_ids": Component 2: Numeric: lengths (2, 1) differ
     Component "union_ids": Component 3: Numeric: lengths (1, 2) differ
     ── Failure (test-self_union.R:39:5): works with SpatialPolygonsDataFrame ───────
     self_union(spdf)@data not equal to `spdf_out_data`.
     Attributes: < Component "row.names": Modes: numeric, character >
     Attributes: < Component "row.names": target is numeric, current is character >
     Component "union_count": Mean relative difference: 0.6666667
     Component "union_ids": names for current but not for target
     Component "union_ids": Component 1: Mean relative difference: 0.5
     Component "union_ids": Component 2: Numeric: lengths (2, 1) differ
     Component "union_ids": Component 3: Numeric: lengths (1, 2) differ
     Component "union_df": names for current but not for target
     Component "union_df": Component 1: Attributes: < Component "row.names": Mean relative difference: 0.5 >
     ...
    
     [ FAIL 4 | WARN 0 | SKIP 17 | PASS 82 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc