Source: r-cran-sf Version: 0.9-3+dfsg-1 Severity: serious Justification: makes the package in question unusable or mostly so
Dear Maintainer, The autopkgtest of your package fail with PROJ 7.1.0: BEGIN TEST testthat.R R version 4.0.2 (2020-06-22) -- "Taking Off Again" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > suppressPackageStartupMessages(library(sf)) > > test_check("sf") proj_create: Cannot find proj.db proj_create: Cannot find proj.db proj_create_operation_factory_context: Cannot find proj.db pj_obj_create: Cannot find proj.db pj_obj_create: Cannot find proj.db Cannot open layer foo Reading layer `nospatial' from data source `/usr/lib/R/site-library/sf/gpkg/nospatial.gpkg' using driver `GPKG' Reading layer `nospatial' from data source `/usr/lib/R/site-library/sf/gpkg/nospatial.gpkg' using driver `GPKG' OGR: Unsupported geometry type -- 1. Failure: filter to sfc works (@test_tidy.R#17) -------------------------- d %>% filter(!st_is_empty(geometry)) not identical to d[1, ]. Component "geometry": Attributes: < Component "class": 1 string mismatch > -- 2. Failure: filter to sfc works (@test_tidy.R#19) -------------------------- d %>% filter(st_is(geometry, "POINT")) not identical to d[1:2, ]. Component "geometry": Attributes: < Component "class": 1 string mismatch > Failed to create feature 1 in x Failed to create feature 1 in x == testthat results =========================================================== [ OK: 522 | SKIPPED: 17 | WARNINGS: 6 | FAILED: 2 ] 1. Failure: filter to sfc works (@test_tidy.R#17) 2. Failure: filter to sfc works (@test_tidy.R#19) Error: testthat unit tests failed Execution halted https://ci.debian.net/data/autopkgtest/unstable/amd64/r/r-cran-sf/6060227/log.gz The upstream git repo shows several changes related to PROJ 7.1.0, you can likely cherry-pick those to fix this issue. Kind Regards, Bas