Skip to content

Commit

Permalink
Qualify utils::readRegistry() call
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Feb 28, 2021
1 parent 4bee10e commit e630137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/system.R
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ find_loadavg_counter <- function() {
"CurrentLanguage"
)
tryCatch({
pc <- readRegistry(key)
pc <- utils::readRegistry(key)
idx <- seq(2, length(pc$Counter), by = 2)
cnt <- structure(pc$Counter[idx], names = pc$Counter[idx - 1])
nm <- paste0("\\", cnt["2"], "\\", cnt["44"])
Expand Down

0 comments on commit e630137

Please sign in to comment.