Skip to content
Prev 33970 / 63424 Next

Package that does not work until I re write the exactly the same code

Martin Morgan find the solution. Before
   setMethod("kml","ClusterizLongData",func)
kml was in environment kml, After, kml is in environment global.

So, using traceback(), we find that kml use an object Partition that is 
define in another package and that was export to the global environment 
but not to kml environment.
Adding import or importForm in NAMESPACE solve the problem.

Christophe