generate documentation
[synclust.git] / R / zzz.R
diff --git a/R/zzz.R b/R/zzz.R
index 189dd8f..50717b7 100644 (file)
--- a/R/zzz.R
+++ b/R/zzz.R
@@ -1,5 +1,5 @@
 #called when package is detached ( detach("package:pkg_name") )
-.Last.lib = function(path)
+.onDetach = function(libpath)
 {
-       library.dynam.unload("synclust", path)
+       library.dynam.unload("synclust", libpath)
 }