1importFrom("graphics", plot) # because we want to define methods on it 2 3## Generics and functions defined in this package 4export(pubGenf, pubfn, # generic functions 5 assertError)# and a simple one 6 7## own classes 8exportClasses(pubClass, subClass)# both classes [where 'pkgA' only exports main class] 9 10exportMethods( 11 ## for own generics: 12 pubGenf, pubfn, 13 ## for other generics: 14 plot, show 15) 16 17## The "Matrix-like" 18exportClasses("atomicVector", "array_or_vector") 19exportClasses("M", "dM", "diagM", "ddiM") ## but *not* "mM" ! 20 21