mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 07:27:55 +00:00
R: Autoinstall plyr and data.table if not already installed.
This commit is contained in:
parent
f8ce632157
commit
41866970d6
|
@ -1,4 +1,8 @@
|
|||
all:
|
||||
# Install plyr if not installed
|
||||
Rscript -e 'usePackage <- function(p) { if (!is.element(p, installed.packages()[,1])) { install.packages(p, dep = TRUE) }; require(p, character.only = TRUE) }; usePackage("plyr");'
|
||||
# Install data.table if not installed
|
||||
Rscript -e 'usePackage <- function(p) { if (!is.element(p, installed.packages()[,1])) { install.packages(p, dep = TRUE) }; require(p, character.only = TRUE) }; usePackage("data.table");'
|
||||
cd gnuparallel && md5sum DESCRIPTION NAMESPACE R/gnuparallel.R man/gnuparallel-package.Rd > MD5
|
||||
R CMD check --as-cran gnuparallel
|
||||
R CMD build gnuparallel
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
c521738aeecfa8e237500f4a3263143e DESCRIPTION
|
||||
d008be14407ccaa1070b98ed7d91c123 NAMESPACE
|
||||
1687988e405e42d2da3978c8456fa014 DESCRIPTION
|
||||
c9aa60a23c3248ca19b99dce2db2123b NAMESPACE
|
||||
beb1ce7a813ec211acd651e66a397a7b R/gnuparallel.R
|
||||
cb2aec4860699d6819f9cc18e67b8df4 man/gnuparallel-package.Rd
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
importFrom("utils", "read.table")
|
||||
export(gnu.parallel.filenames)
|
||||
export(gnu.parallel.load)
|
||||
export(gnu.parallel.load.lines)
|
||||
export(gnu.parallel.load.data.frame)
|
||||
export(gnu.parallel.load.data.table)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue