- using R version 4.4.1 (2024-06-14)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘happign/DESCRIPTION’ ... OK
- this is package ‘happign’ version ‘0.3.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘happign’ can be installed ... [16s/21s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [5s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [5s/6s] OK
- checking whether the package can be unloaded cleanly ... [5s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/6s] OK
- checking loading without being on the library search path ... [5s/6s] OK
- checking whether startup messages can be suppressed ... [5s/5s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [11s/14s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [8s/14s] ERROR
Running ‘testthat.R’ [8s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
'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 85 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [10s/13s] OK
- checking PDF version of manual ... [6s/7s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '