Re: [R-pkg-devel] Explicitly Calling a Method of a specific Class in a Function

2018-05-09 Thread Roger Bivand
(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

Re: [R-pkg-devel] Explicitly Calling a Method of a specific Class in a Function

2018-05-07 Thread Georgi Boshnakov
sp'. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Dr. rer. nat. Michael Thrun Sent: 06 May 2018 10:43 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Explicitly Calling a Method of a specific Class in

Re: [R-pkg-devel] Explicitly Calling a Method of a specific Class in a Function

2018-05-07 Thread Dirk Eddelbuettel
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

[R-pkg-devel] Explicitly Calling a Method of a specific Class in a Function

2018-05-07 Thread Dr. rer. nat. Michael Thrun
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 in ?`:::` about the use of this operator. “ The goal is to explicitly ca