git_hooks: Git hooks

git_hooksR Documentation

Git hooks

Description

[Experimental]

This function is primarily for organisational level configuration. Supply git hooks in the form of R functions and they will be executed via the Rscript interface.

Usage

nm_pre_commit_hook(cmd)

nm_pre_push_hook(cmd)

Arguments

cmd

Optional command for setting the git hook.

Value

If no cmd is specified this returns the return value of getOption("nm_pre_commit_hook"). Otherwise there is no return value.

See Also

nm_create_analysis_project()


NMproject documentation built on Sept. 30, 2022, 1:06 a.m.