* using log directory 'd:/RCompile/CRANincoming/R-devel/placematchr.Rcheck' * using R Under development (unstable) (2026-02-04 r89376 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-02-05 15:40:29 UTC * checking for file 'placematchr/DESCRIPTION' ... OK * this is package 'placematchr' version '0.2.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Giulian Etingin-Frati ' New submission Possibly misspelled words in DESCRIPTION: Eurostat (6:368) LAU (6:234) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'placematchr' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE License components which are templates and need '+ file LICENSE': MIT * checking top-level files ... NOTE File LICENSE is not mentioned in the DESCRIPTION file. Non-standard file/directory found at top level: 'cran-comments.md' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... WARNING Found the following files with non-ASCII characters: R/generate_fake_cities.R R/normalize_city.R Portable packages must use only ASCII characters in their R code and NAMESPACE directives, except perhaps in comments. Use \uxxxx escapes for other characters. Function 'tools::showNonASCIIfile' can help in finding non-ASCII characters in files. * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'lau_at' 'lau_be' 'lau_bg' 'lau_ch' 'lau_cy' 'lau_cz' 'lau_de' 'lau_dk' 'lau_ee' 'lau_el' 'lau_es' 'lau_fi' 'lau_fr' 'lau_hr' 'lau_hu' 'lau_ie' 'lau_it' 'lau_li' 'lau_lt' 'lau_lu' 'lau_lv' 'lau_mk' 'lau_mt' 'lau_nl' 'lau_no' 'lau_pl' 'lau_pt' 'lau_ro' 'lau_se' 'lau_si' 'lau_sk' 'lau_tr' 'nuts_at' 'nuts_be' 'nuts_bg' 'nuts_ch' 'nuts_cy' 'nuts_cz' 'nuts_de' 'nuts_dk' 'nuts_ee' 'nuts_el' 'nuts_es' 'nuts_fi' 'nuts_fr' 'nuts_hr' 'nuts_hu' 'nuts_ie' 'nuts_it' 'nuts_li' 'nuts_lt' 'nuts_lu' 'nuts_lv' 'nuts_mk' 'nuts_mt' 'nuts_nl' 'nuts_no' 'nuts_pl' 'nuts_pt' 'nuts_ro' 'nuts_se' 'nuts_si' 'nuts_sk' 'nuts_tr' Undocumented data sets: 'lau_at' 'lau_be' 'lau_bg' 'lau_ch' 'lau_cy' 'lau_cz' 'lau_de' 'lau_dk' 'lau_ee' 'lau_el' 'lau_es' 'lau_fi' 'lau_fr' 'lau_hr' 'lau_hu' 'lau_ie' 'lau_it' 'lau_li' 'lau_lt' 'lau_lu' 'lau_lv' 'lau_mk' 'lau_mt' 'lau_nl' 'lau_no' 'lau_pl' 'lau_pt' 'lau_ro' 'lau_se' 'lau_si' 'lau_sk' 'lau_tr' 'nuts_at' 'nuts_be' 'nuts_bg' 'nuts_ch' 'nuts_cy' 'nuts_cz' 'nuts_de' 'nuts_dk' 'nuts_ee' 'nuts_el' 'nuts_es' 'nuts_fi' 'nuts_fr' 'nuts_hr' 'nuts_hu' 'nuts_ie' 'nuts_it' 'nuts_li' 'nuts_lt' 'nuts_lu' 'nuts_lv' 'nuts_mk' 'nuts_mt' 'nuts_nl' 'nuts_no' 'nuts_pl' 'nuts_pt' 'nuts_ro' 'nuts_se' 'nuts_si' 'nuts_sk' 'nuts_tr' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(placematchr) > > test_check("placematchr") Saving _problems/test-normalization-10.R Saving _problems/test-normalization-14.R Saving _problems/test-normalization-17.R Saving _problems/test-normalization-27.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 9 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-normalization.R:10:3'): DE normalization works ─────────────── Expected `normalize_city("Paris", country = "DE")` to equal "Non-German City - Do not match". Differences: 1/1 mismatches x[1]: "paris" y[1]: "Non-German City - Do not match" ── Failure ('test-normalization.R:14:3'): CH normalization works ─────────────── Expected `normalize_city("Zürich", country = "CH")` to equal "zuerich". Differences: 1/1 mismatches x[1]: "zurich" y[1]: "zuerich" ── Failure ('test-normalization.R:17:3'): CH normalization works ─────────────── Expected `normalize_city("Berlin", country = "CH")` to equal "Non-Swiss City - Do not match". Differences: 1/1 mismatches x[1]: "berlin" y[1]: "Non-Swiss City - Do not match" ── Failure ('test-normalization.R:27:3'): Matching returns results ───────────── Expected `res_ch$city_clean[1]` to equal "zuerich". Differences: 1/1 mismatches x[1]: "zurich" y[1]: "zuerich" [ FAIL 4 | WARN 0 | SKIP 0 | PASS 9 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 3 NOTEs