Package: rmake 1.2.2

rmake: Makefile Generator for R Analytical Projects

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.

Authors:Michal Burda [aut, cre]

rmake_1.2.2.tar.gz
rmake_1.2.2.zip(r-4.7)rmake_1.2.2.zip(r-4.6)rmake_1.2.2.zip(r-4.5)
rmake_1.2.2.tgz(r-4.6-any)rmake_1.2.2.tgz(r-4.5-any)
rmake_1.2.2.tar.gz(r-4.7-any)rmake_1.2.2.tar.gz(r-4.6-any)
rmake_1.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rmake/json (API)

# Install 'rmake' in R:
install.packages('rmake', repos = c('https://beerda.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/beerda/rmake/issues

Pkgdown/docs site:https://beerda.github.io

On CRAN:

Conda:

makefilermake

6.47 score 4 stars 46 scripts 501 downloads 28 exports 29 dependencies

Last updated from:95b4244924. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK134
source / vignettesOK177
linux-release-x86_64OK140
macos-release-arm64OK87
macos-oldrel-arm64OK101
windows-develOK98
windows-releaseOK106
windows-oldrelOK87
wasm-releaseOK108

Exports:%>>%copyRuledefaultVarsdepRuleexpandTemplategetParamhasGnuMakeinShellis.ruleknitrRulemakemakefilemarkdownRuleofflineRuleprerequisitespythonRulereplaceSuffixreplaceVariablesrmakeSkeletonrRulerulesanitizePathsanitizeSpacessubdirRuletargetstasksterminalsvisualizeRules

Dependencies:assertthatbase64encbslibcachemclidigestevaluatefastmapfontawesomefshighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeR6rappdirsrlangrmarkdownsasstinytexvisNetworkxfunyaml

Build Rules
Introduction | Common Rule Parameters | Pre-defined Rule Types | rRule() | markdownRule() | knitrRule() | copyRule() | depRule() | subdirRule() | offlineRule() | Custom Rules | Using inShell() | Summary | See Also

Last update: 2025-12-30
Started: 2025-12-30

Getting Started with rmake
Introduction | Key Features | Why Use rmake? | Installation | Prerequisites | System Requirements | Environment Variables | When is R_HOME needed? | Finding R_HOME | Setting R_HOME | Project Initialization | Creating Skeleton Files | Basic Example | Step 1: Create the Data File | Step 2: Create the Processing Script | Step 3: Define the Build Rule | Step 4: Run the Build | Using the Pipe Operator | Adding a Markdown Report | Running Make | From R | From Command Line | From RStudio | Visualizing Dependencies | Multiple Dependencies | Rule Types | Next Steps | Summary | Resources

Last update: 2025-12-30
Started: 2025-12-30

rmake Project Management
Introduction | Project Initialization | Running the Build Process | Cleaning Up | Parallel Execution | Summary | See Also

Last update: 2025-12-30
Started: 2025-12-30

Tasks and Templates
Introduction | Tasks | Executing Tasks | Assigning Rules to Tasks | Use Cases for Tasks | Parameterized Execution | Accessing Parameters in Scripts | Using getParam() | Built-in Parameters | Rule Templates | Simple Template | Template with Multiple Variables | Combining Templates with Parameters | Template Variables in Parameters | Common Pitfall: Multiple Rules for Same Target | Combining Tasks and Templates | Best Practices | For Tasks | For Templates | Summary

Last update: 2025-12-30
Started: 2025-12-30

Readme and manuals

Help Manual

Help pageTopics
A pipe operator for rmake rules%>>%
Rule for copying a file to a new locationcopyRule
Variables used within the Makefile generating processdefaultVars
A rule that defines a dependency between targets without actually providing any execution script.depRule
Expand template rules into a list of rules by replacing 'rmake' variables with their valuesexpandTemplate
Wrapper around the 'params' global variablegetParam
Check if GNU Make is available via the 'make' commandhasGnuMake
Convert R code to a character vector of shell commands evaluating the given R code.inShell
Check if the argument is a valid rule object.is.rule
Rule for building text documents using the knitr packageknitrRule
Run 'make' in the systemmake
Generate Makefile from a given list of rules ('job').makefile
Rule for building text documents from Markdown filesmarkdownRule
Rule for requesting manual user actionofflineRule
Return a given set of properties of all rules in a listgetters prerequisites targets tasks terminals
Rule for running Python scriptspythonRule
Replace the suffix of a given file name with a new extension (suffix)replaceSuffix
Replace 'rmake' variables in a character vectorreplaceVariables
Prepare an existing project for building with _rmake_.rmakeSkeleton
Rule for running R scriptsrRule
General creator of an instance of the S3 'rmake.rule' classrmake.rule rule
Sanitize a file path for the current operating systemsanitizePath
Escape spaces in a string as needed in file names used in Makefile filessanitizeSpaces
Rule for running the make process in a subdirectorysubdirRule
Visualize dependencies defined by a rule or a list of rulesvisualizeRules