Learn R Programming

precommit (version 0.1.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())

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

Run this code
# NOT RUN {
open_config()
# }
# NOT RUN {
open_wordlist()
# }

Run the code above in your browser using DataLab