CRAN Package Check Results for Package norgeo

Last updated on 2023-12-28 12:51:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3.1 3.87 45.76 49.63 OK
r-devel-linux-x86_64-debian-gcc 2.3.1 2.82 33.68 36.50 OK
r-devel-linux-x86_64-fedora-clang 2.3.1 64.63 ERROR
r-devel-linux-x86_64-fedora-gcc 2.3.1 70.99 ERROR
r-devel-windows-x86_64 2.3.1 4.00 82.00 86.00 OK
r-patched-linux-x86_64 2.3.1 3.21 43.41 46.62 OK
r-release-linux-x86_64 2.3.1 3.52 42.98 46.50 OK
r-release-macos-arm64 2.3.1 59.00 OK
r-release-macos-x86_64 2.3.1 84.00 OK
r-release-windows-x86_64 2.3.1 5.00 87.00 92.00 OK
r-oldrel-macos-arm64 2.3.1 55.00 OK
r-oldrel-windows-x86_64 2.3.1 6.00 66.00 72.00 OK

Check Details

Version: 2.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(norgeo) norgeo version 2.3.1 > > test_check("norgeo") Start casting geo codes from API ............ Data for grunnkrets to bydel in 2010 have 1572 rows Data for grunnkrets to kommune in 2010 have 13974 rows Data for kommune to fylke in 2010 have 431 rows No code changes from 1999-01-01 to 2000-01-02 or not available via API No code changes from 2000-01-01 to 2001-01-02 or not available via API Grunnkrets codes change before 2002 are from the dataset `GrunnkretsBefore2002` No code changes from 2018-01-01 to 2019-01-02 or not available via API [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get-change.R:5:3'): Grunnkrets from before 2002 ────────────── get_change("g", 1999, 2003, names = F) (`actual`) not equal to `dtOut` (`expected`). `attr(actual, 'row.names')[283:291]`: 283 284 285 286 287 288 289 290 291 `attr(expected, 'row.names')[283:285]`: 283 284 285 actual vs expected oldCode newCode changeOccurred actual[238, ] 16018108 16018123 2000 actual[239, ] 18330504 18330508 2000 actual[240, ] 18330802 18330806 2000 - actual[241, ] 02360305 02360310 2002 + expected[241, ] 02360305 02360310 2001 - actual[242, ] 02360305 02360311 2002 + expected[242, ] 02360305 02360311 2001 - actual[243, ] 04031001 04030112 2002 + expected[243, ] 04031001 04030112 2001 - actual[244, ] 04031002 04030611 2002 + expected[244, ] 04031002 04030611 2001 - actual[245, ] 04031003 04030612 2002 + expected[245, ] 04031003 04030612 2001 - actual[246, ] 07180101 07160301 2002 + expected[246, ] 07180101 07160301 2001 - actual[247, ] 07180102 07160302 2002 + expected[247, ] 07180102 07160302 2001 and 35 more ... actual$oldCode | expected$oldCode [271] "12140206" | "12140206" [271] [272] "15140101" | "15140101" [272] [273] "15140102" | "15140102" [273] [274] "04031000" - [275] "07180100" - [276] "07180200" - [277] "12140100" - [278] "12140200" - [279] "15140100" - [280] "01010105" | "01010105" [274] ... ... ... and 2 more ... actual$newCode | expected$newCode [271] "11590206" | "11590206" [271] [272] "15110301" | "15110301" [272] [273] "15110302" | "15110302" [273] [274] "04030100" - [275] "07160300" - [276] "07160400" - [277] "11590100" - [278] "11590200" - [279] "15110300" - [280] "01010103" | "01010103" [274] ... ... ... and 2 more ... actual$changeOccurred | expected$changeOccurred [238] "2000" | "2000" [238] [239] "2000" | "2000" [239] [240] "2000" | "2000" [240] [241] "2002" - "2001" [241] [242] "2002" - "2001" [242] [243] "2002" - "2001" [243] [244] "2002" - "2001" [244] [245] "2002" - "2001" [245] [246] "2002" - "2001" [246] [247] "2002" - "2001" [247] ... ... ... and 35 more ... [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/39s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(norgeo) norgeo version 2.3.1 > > test_check("norgeo") Start casting geo codes from API ............ Data for grunnkrets to bydel in 2010 have 1572 rows Data for grunnkrets to kommune in 2010 have 13974 rows Data for kommune to fylke in 2010 have 431 rows No code changes from 1999-01-01 to 2000-01-02 or not available via API No code changes from 2000-01-01 to 2001-01-02 or not available via API Grunnkrets codes change before 2002 are from the dataset `GrunnkretsBefore2002` No code changes from 2018-01-01 to 2019-01-02 or not available via API [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get-change.R:5:3'): Grunnkrets from before 2002 ────────────── get_change("g", 1999, 2003, names = F) (`actual`) not equal to `dtOut` (`expected`). `attr(actual, 'row.names')[283:291]`: 283 284 285 286 287 288 289 290 291 `attr(expected, 'row.names')[283:285]`: 283 284 285 actual vs expected oldCode newCode changeOccurred actual[238, ] 16018108 16018123 2000 actual[239, ] 18330504 18330508 2000 actual[240, ] 18330802 18330806 2000 - actual[241, ] 02360305 02360310 2002 + expected[241, ] 02360305 02360310 2001 - actual[242, ] 02360305 02360311 2002 + expected[242, ] 02360305 02360311 2001 - actual[243, ] 04031001 04030112 2002 + expected[243, ] 04031001 04030112 2001 - actual[244, ] 04031002 04030611 2002 + expected[244, ] 04031002 04030611 2001 - actual[245, ] 04031003 04030612 2002 + expected[245, ] 04031003 04030612 2001 - actual[246, ] 07180101 07160301 2002 + expected[246, ] 07180101 07160301 2001 - actual[247, ] 07180102 07160302 2002 + expected[247, ] 07180102 07160302 2001 and 35 more ... actual$oldCode | expected$oldCode [271] "12140206" | "12140206" [271] [272] "15140101" | "15140101" [272] [273] "15140102" | "15140102" [273] [274] "04031000" - [275] "07180100" - [276] "07180200" - [277] "12140100" - [278] "12140200" - [279] "15140100" - [280] "01010105" | "01010105" [274] ... ... ... and 2 more ... actual$newCode | expected$newCode [271] "11590206" | "11590206" [271] [272] "15110301" | "15110301" [272] [273] "15110302" | "15110302" [273] [274] "04030100" - [275] "07160300" - [276] "07160400" - [277] "11590100" - [278] "11590200" - [279] "15110300" - [280] "01010103" | "01010103" [274] ... ... ... and 2 more ... actual$changeOccurred | expected$changeOccurred [238] "2000" | "2000" [238] [239] "2000" | "2000" [239] [240] "2000" | "2000" [240] [241] "2002" - "2001" [241] [242] "2002" - "2001" [242] [243] "2002" - "2001" [243] [244] "2002" - "2001" [244] [245] "2002" - "2001" [245] [246] "2002" - "2001" [246] [247] "2002" - "2001" [247] ... ... ... and 35 more ... [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc