add alternative approach from 2013-01
[synclust.git] / R / zzz.R
CommitLineData
15d1825d 1#called when package is detached ( detach("package:pkg_name") )
ad26cb61 2.onDetach = function(libpath)
15d1825d 3{
ad26cb61 4 library.dynam.unload("synclust", libpath)
15d1825d 5}