Skip to content

Commit

Permalink
Fix R_user_dir import
Browse files Browse the repository at this point in the history
  • Loading branch information
klmr committed Nov 3, 2022
1 parent 0df197f commit 9e8fb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/settings_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ find_config <- function(filename) {
# cf: rstudio@bc9b6a5 SessionRSConnect.R#L32
file.path(Sys.getenv("HOME", unset = "~"), linter_file),
# Next check for a global config file
file.path(tools::R_user_dir("lintr", which = "config"), "config")
file.path(R_user_dir("lintr", which = "config"), "config")
)

# Search through locations, return first valid result
Expand Down

0 comments on commit 9e8fb79

Please sign in to comment.