Skip to content

Commit

Permalink
Updating diagnostics documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbielby committed Nov 11, 2024
1 parent f029e76 commit 89a7d4c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 1 addition & 3 deletions R/diagnostic_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
#' @export
#'
#' @examples
#' \dontrun{
#' diagnostic_test()
#' }
diagnostic_test <- function(
clean = FALSE,
verbose = FALSE) {
Expand Down Expand Up @@ -133,7 +131,7 @@ check_renv_download_method <- function(
)
readRenviron(renviron_file)
} else {
dfeR::toggle_message(current_setting_message,
dfeR::toggle_message(paste("FAIL:", current_setting_message),
verbose = verbose
)
message("If you wish to manually update your .Renviron file:")
Expand Down
7 changes: 7 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ reference:
contents:
- starts_with("format_")

- title: System diagnostics
desc: Functions to diagnose and fix common system issues
contents:
- diagnostic_test
- check_proxy_settings
- check_renv_download_method

- title: Helpers
desc: >
Functions used in other functions across the package, exported as they can also
Expand Down
2 changes: 0 additions & 2 deletions man/diagnostic_test.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 89a7d4c

Please sign in to comment.