CRAN Package Check Results for Maintainer ‘Paul Carteron <carteronpaul at gmail.com>’

Last updated on 2024-12-18 19:49:34 CET.

Package ERROR OK
happign 2 11

Package happign

Current CRAN status: ERROR: 2, OK: 11

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(happign) Please make sure you have an internet connection. Use happign::get_last_news() to display latest geoservice news. > > test_check("happign") Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE terra 1.8.5 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe Layer fileaa0636923aad in dataset /private/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T/RtmpmuiPT0/fileaa0636923aad.shp already exists: use either append=TRUE to append to layer or append=FALSE to overwrite layer Use happign::get_last_news() to display latest geoservice news. Please make sure you have an internet connection. [ FAIL 1 | WARN 0 | SKIP 36 | PASS 84 ] ══ Skipped tests (36) ══════════════════════════════════════════════════════════ • On CRAN (36): 'test-get_apicarto_cadastre.R:68:7', 'test-get_apicarto_cadastre.R:86:7', 'test-get_apicarto_cadastre.R:102:7', 'test-get_apicarto_cadastre.R:120:7', 'test-get_apicarto_cadastre.R:138:7', 'test-get_apicarto_codes_postaux.R:7:7', 'test-get_apicarto_gpu.R:39:7', 'test-get_apicarto_rpg.R:6:7', 'test-get_iso.R:47:7', 'test-get_iso.R:69:7', 'test-get_iso.R:82:7', 'test-get_location_info.R:3:7', 'test-get_location_info.R:13:7', 'test-get_location_info.R:25:7', 'test-get_location_info.R:39:7', 'test-get_location_info.R:54:7', 'test-get_location_info.R:66:7', 'test-get_wfs.R:33:4', 'test-get_wfs.R:70:7', 'test-get_wfs.R:93:7', 'test-get_wfs.R:109:7', 'test-get_wms_raster.R:5:7', 'test-get_wms_raster.R:28:4', 'test-get_wms_raster.R:42:4', 'test-get_wms_raster.R:56:4', 'test-get_wms_raster.R:72:4', 'test-get_wms_raster.R:84:4', 'test-get_wmts.R:2:4', 'test-get_wmts.R:13:4', 'test-get_wmts.R:24:4', 'test-get_wmts.R:40:4', 'test-get_wmts.R:51:4', 'test-hit_api.R:12:7', 'test-utils.R:3:4', 'test-utils.R:18:4', 'test-utils.R:90:7' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_apicarto_cadastre.R:4:4'): get_geojson work ────────────── `poly_json` does not match "\\{\"type\":\"Polygon\",\"coordinates\":\\[\\[\\[-4\\.346.*,47\\.815.*\\],\\[-4\\.345.*,47\\.811.*\\],\\[-4\\.343.*,47\\.812.*\\],\\[-4\\.346.*,47\\.815.*\\]\\]\\]\\}". Actual value: "\{"type":"Polygon","coordinates":\[\[\[-4\.3469999999999995,47\.81499999999999\],\[-4\.345999999999999,47\.811\],\[-4\.3439999999999985,47\.81299999999998\],\[-4\.3469999999999995,47\.81499999999999\]\]\]\}" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-get_apicarto_cadastre.R:4:4 2. └─testthat:::expect_match_(...) [ FAIL 1 | WARN 0 | SKIP 36 | PASS 84 ] Error: Test failures Execution halted Flavor: r-release-macos-x86_64

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(happign) Please make sure you have an internet connection. Use happign::get_last_news() to display latest geoservice news. > > test_check("happign") Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE terra 1.8.5 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe Layer file8cf94eddd507 in dataset /private/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T/RtmpChxc6s/file8cf94eddd507.shp already exists: use either append=TRUE to append to layer or append=FALSE to overwrite layer Use happign::get_last_news() to display latest geoservice news. Please make sure you have an internet connection. [ FAIL 1 | WARN 0 | SKIP 36 | PASS 84 ] ══ Skipped tests (36) ══════════════════════════════════════════════════════════ • On CRAN (36): 'test-get_apicarto_cadastre.R:68:7', 'test-get_apicarto_cadastre.R:86:7', 'test-get_apicarto_cadastre.R:102:7', 'test-get_apicarto_cadastre.R:120:7', 'test-get_apicarto_cadastre.R:138:7', 'test-get_apicarto_codes_postaux.R:7:7', 'test-get_apicarto_gpu.R:39:7', 'test-get_apicarto_rpg.R:6:7', 'test-get_iso.R:47:7', 'test-get_iso.R:69:7', 'test-get_iso.R:82:7', 'test-get_location_info.R:3:7', 'test-get_location_info.R:13:7', 'test-get_location_info.R:25:7', 'test-get_location_info.R:39:7', 'test-get_location_info.R:54:7', 'test-get_location_info.R:66:7', 'test-get_wfs.R:33:4', 'test-get_wfs.R:70:7', 'test-get_wfs.R:93:7', 'test-get_wfs.R:109:7', 'test-get_wms_raster.R:5:7', 'test-get_wms_raster.R:28:4', 'test-get_wms_raster.R:42:4', 'test-get_wms_raster.R:56:4', 'test-get_wms_raster.R:72:4', 'test-get_wms_raster.R:84:4', 'test-get_wmts.R:2:4', 'test-get_wmts.R:13:4', 'test-get_wmts.R:24:4', 'test-get_wmts.R:40:4', 'test-get_wmts.R:51:4', 'test-hit_api.R:12:7', 'test-utils.R:3:4', 'test-utils.R:18:4', 'test-utils.R:90:7' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_apicarto_cadastre.R:4:4'): get_geojson work ────────────── `poly_json` does not match "\\{\"type\":\"Polygon\",\"coordinates\":\\[\\[\\[-4\\.346.*,47\\.815.*\\],\\[-4\\.345.*,47\\.811.*\\],\\[-4\\.343.*,47\\.812.*\\],\\[-4\\.346.*,47\\.815.*\\]\\]\\]\\}". Actual value: "\{"type":"Polygon","coordinates":\[\[\[-4\.3469999999999995,47\.81499999999999\],\[-4\.345999999999999,47\.811\],\[-4\.3439999999999985,47\.81299999999998\],\[-4\.3469999999999995,47\.81499999999999\]\]\]\}" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-get_apicarto_cadastre.R:4:4 2. └─testthat:::expect_match_(...) [ FAIL 1 | WARN 0 | SKIP 36 | PASS 84 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64