make: Use Make

makeR Documentation

Use Make

Description

Add a (GNU-)Makefile(s) with special emphasis on the use of containers.

Usage

use_make(
  docker = FALSE,
  publish = FALSE,
  singularity = FALSE,
  torque = FALSE,
  open = TRUE
)

use_make_docker(file, use_docker = TRUE, dockerignore = TRUE, open = FALSE)

use_make_singularity(file, use_singularity = TRUE, open = FALSE)

use_make_publish(file, open = FALSE)

Arguments

docker

If true or a path a setup is created that can partially send make commands to a Docker container.

publish

Should the Makefile_publish also be created?

singularity

If true or a path a setup is created that can partially send make commands to a Singularity container (which requires the Dockerimage)

torque

If true a or a path setup is created that can partially send make comands to a TORQUE job scheduler. Especially usefull in combination with a Singularity container.

open

Open the newly created file for editing? Happens in RStudio, if applicable, or via utils::file.edit() otherwise.

file

Path to the file that is to be created.

use_docker

If true use_docker() is called.

dockerignore

If true a .dockerignore file is created.

use_singularity

If true use_singularity() is called.


aaronpeikert/repro documentation built on Sept. 16, 2024, 7:12 p.m.