Skip to content
Prev 20068 / 29559 Next

Combining polygons and calculating their area (i.e. number of cells)

On Fri, 20 Dec 2013, Josh O'Brien wrote:

            
Thanks for responding - use of "@" is said in the books to be OK inside 
functions, especially in the package defining the classes. I think one 
should expect package authors to maintain consistency in slot names and 
types themselves!

However, users should prefer access and replacement functions, and ask for 
more if they aren't there when needed. The same may well apply to other 
package authors importing classes - using access functions protects 
against road bumps if class definitions get changed (we get told by CRAN 
if our changes break downstream packages).

Roger