[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.

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.