]> git.donarmstrong.com Git - cran2deb.git/blobdiff - trunk/exec/get_base_pkgs
fix brown bag bug / typo
[cran2deb.git] / trunk / exec / get_base_pkgs
index 9ec4d29acb3389f3a9fec0e67ca7d73c31de5cb9..fb6230decfab8434b8a998a1199981fb73cd50f8 100755 (executable)
@@ -1,6 +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())) {
+for (pkg in rownames(instPkgs())) {
        message(pkg)
 }