git_hooks: Git hooks

Description Usage Arguments Value See Also

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

1
2
3

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 Oct. 18, 2021, 1:08 a.m.