Learn R Programming

precommit (version 0.4.3)

open_config: Open pre-commit related files

Description

Open pre-commit related files

Usage

open_config(root = here::here())

open_wordlist(root = here::here())

Value

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

Arguments

root

The path to the root directory of your project.

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

Run this code
if (FALSE) {
open_config()
}
if (FALSE) {
open_wordlist()
}

Run the code above in your browser using DataLab