Thomas Smith
Thomas Smith

Reputation: 1

How do I find references to maptools, rgdal, or rgeos, in my R-package? sf is the only spatial analysis package in the namespace

In my R package I replaced calls to other spatial analysis packages with sf functions, but still get a message: "The legacy packages maptools, rgdal, and rgeos, underpinning this package will retire shortly. Please refer to R-spatial evolution reports on https://r-spatial.org/r/2023/05/15/evolution4.html for details. This package is now running under evolution status 0" I cannot find any references to these packages in my code.

I expected that replacing all sp:: or maptools:: functions with sf:: functions would stop the warning appearing, but this did not happen.

The package is at: https://github.com/ThomasASmith/CRTspat/ The DESCRIPTION file has been updated several times (n.b. I should have written in the title that "sf is the only spatial analysis package in the DESCRIPTION")

Upvotes: 0

Views: 406

Answers (0)

Related Questions