timetraveleR.execute: Execute

Description Usage Arguments Details Author(s)

Description

Execute a script on all installed packages.

Usage

1
  Execute(state, lib.dir, script, dest, ..., log.dir=NULL)

Arguments

state

The CRAN state to install like the one returned by Init.

lib.dir

Directory where to install packages.

script

The path of the script to execute

dest

Directory where to write result output.

...

Additional arguments to pass to the script.

log.dir

Directory where to write log of failed installation.

Details

Run a (R) script on each package installed and log failures if log.dir is not NULL. The script must take the following parameters: the name of the package, the name of the package, the version of the package, the directory where packages are installed, where to store the result and additional arguments.

If the script is meant to be run only one for each successfully installed package (i.e. should not be run a second time on the same package version with a different CRAN state), it should create a file in dest named package_version.rds.

Author(s)

Maëlick Claes <himself@maelick.net>


ecos-umons/timetraveleR documentation built on May 15, 2019, 10:07 p.m.