X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=branch%2Fdouble_build%2Fexec%2Fget_base_pkgs;fp=branch%2Fdouble_build%2Fexec%2Fget_base_pkgs;h=46de12c983e0ea08c3a9e435cd33e825193850e9;hb=bbe8a759637a74b5036c8c7345de55a96cb7bbd6;hp=0000000000000000000000000000000000000000;hpb=449efd24870d395eb1edfd4d3a59e239c8cc5547;p=cran2deb.git diff --git a/branch/double_build/exec/get_base_pkgs b/branch/double_build/exec/get_base_pkgs new file mode 100755 index 0000000..46de12c --- /dev/null +++ b/branch/double_build/exec/get_base_pkgs @@ -0,0 +1,6 @@ +#!/usr/bin/env r +instPkgs <- installed.packages(lib.loc="/usr/lib/R/library") +instPkgs <- instPkgs[ instPkgs[,"Priority"] == 'base', ] +for (pkg in rownames(instPkgs)) { + message(pkg) +}