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

Last updated on 2024-12-23 12:49:39 CET.

Package ERROR OK
happign 3 10

Package happign

Current CRAN status: ERROR: 3, OK: 10

Version: 0.3.1
Check: package dependencies
Result: ERROR Package required but not available: ‘terra’ Package suggested but not available for checking: ‘tmap’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/19s] 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 file1734f7f147eca in dataset /private/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T/RtmpHNsiNm/file1734f7f147eca.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/15s] 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 file166f12728064c in dataset /private/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T/Rtmp7aQBYH/file166f12728064c.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