Learn R Programming

NMproject (version 0.6.9)

git_hooks: 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)

Value

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

Arguments

cmd

Optional command for setting the git hook.

See Also

nm_create_analysis_project()