]> git.donarmstrong.com Git - cran2deb.git/blobdiff - trunk/exec/get_base_pkgs
update_cache reverted to prior version (which calls get_base_pkgs)
[cran2deb.git] / trunk / exec / get_base_pkgs
index d08d62546b73186e9111667a0f595f3143c2e80f..9ec4d29acb3389f3a9fec0e67ca7d73c31de5cb9 100755 (executable)
@@ -1,4 +1,6 @@
 #!/usr/bin/env r
+instPkgs <- installed.packages(lib.loc="/usr/lib/R/library")
+instPkgs <- instPkgs[ instPkgs[,"Priority"] == 'base', ]
 for (pkg in rownames(installed.packages())) {
        message(pkg)
 }