nix_build {rix}R Documentation

Invoke shell command nix-build from an R session

Description

Invoke shell command nix-build from an R session

Usage

nix_build(
  project_path = getwd(),
  message_type = c("simple", "quiet", "verbose")
)

Arguments

project_path

Path to the folder where the default.nix file resides.

message_type

Character vector with messaging type, Either "simple" (default), "quiet" for no messaging, or "verbose".

Details

The nix-build command line interface has more arguments. We will probably not support all of them in this R wrapper, but currently we have support for the following nix-build flags:

Value

integer of the process ID (PID) of nix-build shell command launched, if nix_build() call is assigned to an R object. Otherwise, it will be returned invisibly.

Examples

## Not run: 
nix_build()

## End(Not run)

[Package rix version 0.12.4 Index]