(apologies for out-of-thread response)
Both plot() and SpatialPolygons are S4, so see:
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Namespaces-with-S4-classes-and-methods
for guidance, probably
importClassesFrom(sp, SpatialPolygons)
importMethodsFrom(sp, plot)
(untried), and l
>checking dependencies in R code ... NOTE Unexported object imported by
>‘sp:::plot.SpatialPolygons’ ...
The above message already shows that plot.SpatialPolygons is not exported.
But are you sure that you really wish to call the method and not simply call
plot() and let it choose the appropri
On 6 May 2018 at 11:42, Dr. rer. nat. Michael Thrun wrote:
| Dear Developers,
| I have currently one note in one of my packages I am unable to solve at my
own:
| “
| checking dependencies in R code ... NOTE
| Unexported object imported by a ':::' call: ‘sp:::plot.SpatialPolygons’
| See the note