Open pre-commit related files

open_config(root = here::here())

open_wordlist(root = here::here())

Arguments

root

The path to the root directory of your project.

Value

NULL (invisibly). The function is called for its side effects.

Details

  • open_config(): opens the pre-commit config file.

  • open_wordlist(): opens the the WORDLIST file for the check-spelling hook in inst/WORDLIST.

See also

Other helpers: use_precommit()

Examples

if (FALSE) { # \dontrun{
open_config()
} # }
if (FALSE) { # \dontrun{
open_wordlist()
} # }