Learn R Programming

rmake (version 1.2.0)

Makefile Generator for R Analytical Projects

Description

Creates and maintains a build process for complex analytic tasks in R. Package allows to easily generate Makefile for the (GNU) 'make' tool, which drives the build process by (in parallel) executing build commands in order to update results accordingly to given dependencies on changed data or updated source files.

Copy Link

Version

Install

install.packages('rmake')

Monthly Downloads

225

Version

1.2.0

License

GPL (>= 3.0)

Issues

Pull Requests

Stars

Forks

Maintainer

Michal Burda

Last Published

August 26th, 2025

Functions in rmake (1.2.0)

rule

General creator of an instance of the S3 rmake.rule class
prerequisites

Return given set of properties of all rules in a list
replaceVariables

Replace rmake variables in a character vector
makefile

Generate Makefile from given list of rules (job).
rRule

Rule for running R scripts
offlineRule

Rule for requesting manual user action
rmake-package

Makefile generator for R analytical projects
markdownRule

Rule for building text documents from Markdown files
replaceSuffix

Replace suffix of the given file name with a new extension (suffix)
subdirRule

Rule for running the make process on a subdirectory
visualizeRules

Visualize dependencies defined by a rule or a list of rules
sanitizeSpaces

Escape spaces in a string as needed in file names used in Makefile files
sanitizePath

Sanitize a file path for the current operating system
is.rule

Check if the argument is a valid rule object.
defaultVars

Variables used within Makefile generating process
depRule

A rule that defines a dependency between targets without actually providing any execution script.
getParam

Wrapper around the params global variable
inShell

Convert R code to the character vector of shell commands evaluating the given R code.
%>>%

A pipe operator for rmake rules
knitrRule

Rule for building text documents by using the knitr package
make

Run `make`` in the system
expandTemplate

Expand template rules into a list of rules by replacing rmake variables with their values
copyRule

Rule for copying a file into a new location
rmakeSkeleton

Prepare existing project for building with rmake.