Skip to content

Commit

Permalink
Update vignettes/articles/writing-custom-fns.Rmd
Browse files Browse the repository at this point in the history
Co-authored-by: Zhian N. Kamvar <[email protected]>
  • Loading branch information
annakrystalli and zkamvar authored Oct 10, 2024
1 parent e160926 commit 1a4b72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/articles/writing-custom-fns.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ create_custom_check("cstm_check_tbl_skip",

## Loading config files

Many check conditions against information stored in hub configuration files and these are often read in at the start of the custom check function.
Many checks are conditioned against information stored in hub configuration files and these are often read in at the start of the custom check function.

The easiest way to make hub configuration information available within your function is to pass the `hub_path` caller environment object by specifying it as a function argument and then use `hubUtils::read_config(hub_path)` to read in the `tasks.json` configuration file.

Expand Down

0 comments on commit 1a4b72c

Please sign in to comment.