first commit
[pkgdev.git] / pkgTest / R / zzz.R
diff --git a/pkgTest/R/zzz.R b/pkgTest/R/zzz.R
new file mode 100644 (file)
index 0000000..415c03a
--- /dev/null
@@ -0,0 +1,5 @@
+#called when package is detached ( detach("package:pkg_name") )
+.Last.lib = function(path)
+{
+       library.dynam.unload("pkgTest", path)
+}