RForgeTools: R-Forge Package Building and Checking Infrastructure

Description Usage Arguments Details Value Author(s) References Examples

Description

A set of tools providing the complete R-Forge build/check environment. Works on every major platform as we use platform independend R code.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
build_packages (email,
		platform     = c("Linux", "Windows", "MacOSX"),
                architecture = c("x86_32", "x86_64"),
                rforge_url   = "http://R-Forge.R-project.org",
                cran_url     = "http://CRAN.R-project.org",
                bioc_url     = "http://bioconductor.org/packages/release/bioc",
                control      = list())
check_packages (email,
                platform     = c("Linux", "Windows", "MacOSX"),
                architecture = c("x86_32", "x86_64"),
                rforge_url   = "http://R-Forge.R-project.org",
                cran_url     = "http://CRAN.R-project.org",
                bioc_url     = "http://bioconductor.org/packages/release/bioc",
                control=list())
R_Forge_control(path_to_pkg_src, path_to_pkg_log, path_to_pkg_root,
                path_to_local_texmf, path_to_local_library,
                stoplist, mail_domain_name_of_sender, mail_relay_server,
                mail_programme = "mail", path_to_check_dir = "",
                cpu_time_limit = 600)

Arguments

email

the email adress where the status report is delivered to.

platform

specifies the platform on which the packages are built/checked.

architecture

specifies the architecture on which the packages are built/checked.

rforge_url

specifies the repository URL of R-Forge. Default: "http://R-Forge.R-project.org".

cran_url

specifies the repository URL of CRAN. Default: "http://CRAN.R-project.org".

bioc_url

specifies the repository URL of Bioconductor. Default: "http://bioconductor.org/packages/release/bioc".

control

a list with additional information needed by the processes

path_to_pkg_src

This is where the extracted package sources can be found. Typically checked out once daily from the R-Forge SVN repositories.

path_to_pkg_log

Specifies the path where the log files are written to.

path_to_pkg_root

Specifies the path where the built packages are copied to.

path_to_local_texmf

Path to the local texmf tree.

path_to_local_library

The temporary R packages library.

stoplist

The path to the stoplist

mail_domain_name_of_sender

Typically the fully qualified domain name (FQDN) of the local machine.

mail_relay_server

The FQDN of the mail server for relaying.

mail_programme

The mail programme for sending status mails. Default: "mail"

path_to_check_dir

Specifies the path where the check logs are placed. Default: ""

cpu_time_limit

Default: 600

Details

No further information available yet. Work in progress ...

Value

TRUE if build or check process was successful.

Author(s)

Stefan Theussl

References

R-Forge (http://R-Forge.R-project.org).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## First setup the control file

control <- R_Forge_control("/path/to/R/pkgs", 
                           "/path/to/R/logs/R-patched",
                           "/path/to/R/R-Forge",
                           "/usr/local/share/texmf",
                           "/path/to/local_lib",
                           "/path/to/stoplist",
                           system("hostname -f", intern = TRUE),
                           "mailhost.domain.org"
)

## start building (not run) ...
## build_packages(email        = "some.user@some.domain.org",
##                platform     = "Linux",
##                architecture = "x86_64",
##                control      = control)

RForgeTools documentation built on May 2, 2019, 5:19 p.m.