Re: [R-pkg-devel] Problem with package containing spatial data

2023-02-08 Thread Adam H. Sparks
Hi Igor, I’ve a couple packages that have spatial data in them that I maintain. I’ve opted to package up the data as a geopackage file and import it as an {sf} object. Edzer Pebesma suggests this to circumvent changes in the {sf} package from affecting native {sf} objects that are distributed as

[R-pkg-devel] CRAN Package Submission Policy

2023-02-08 Thread EcoC2S - Irucka Embry
Hi, I want to share the following information due to some of the feedback that I received with regards to the extreme lag on getting a response to my USA.state.boundaries package submissions. The following text is taken verbatim from https://cran.r-project.org/web/packages/policies.html: Sub

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-08 Thread Winston Chang
> > Now that I think about it some more, I think I can do the following: > > 1. In the DESCRIPTION file, remove "SystemRequirements: C++11". I believe > this field is used only for R CMD check, not for actually installing > packages. CRAN only runs R CMD check on r-oldrel, r-release, and r-devel, >

[R-pkg-devel] Problem with package containing spatial data

2023-02-08 Thread Igor L
Hello all, I'm developing a package that contains spatial data about public safety in Rio de Janeiro. The problem is that when I use the usethis::use_data function which transforms the shapefile data into a file with the .rda extension, I cannot use the geometry attribute to create a map. E.g.: