Skip to content

Commit

Permalink
Sort sysinfo() flags specific to R environments alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Aug 2, 2024
1 parent a614ae6 commit df733af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: startup
Version: 0.22.0-9004
Version: 0.22.0-9005
Title: Friendly R Startup Configuration
Depends: R (>= 2.14.0)
Suggests: commonmark, tools, tcltk
Expand Down
14 changes: 7 additions & 7 deletions R/sysinfo.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ sysinfo <- function() {

## Built-in system flags (logical)
sysinfo$ark <- is_ark()
sysinfo$ess <- is_ess()
sysinfo$jupyter <- is_jupyter()
sysinfo$rapp <- (.Platform$GUI == "AQUA")
sysinfo$rgui <- (.Platform$GUI == "Rgui")
sysinfo$rstudio <- is_rstudio_console()
sysinfo$rstudioterm <- is_rstudio_terminal()
sysinfo$microsoftr <- is_microsoftr()
sysinfo$ess <- is_ess()
sysinfo$positron <- is_positron()
sysinfo$pqr <- is_pqr()
sysinfo$radian <- is_radian()
sysinfo$rapp <- (.Platform$GUI == "AQUA")
## Deprecated: Renamed rtichoke -> radian in December 2018
sysinfo$rice <- sysinfo$radian
sysinfo$rgui <- (.Platform$GUI == "Rgui")
sysinfo$rstudio <- is_rstudio_console()
sysinfo$rstudioterm <- is_rstudio_terminal()
sysinfo$rtichoke <- sysinfo$radian
## Deprecated: Renamed rice -> rtichoke in February 2018
sysinfo$rice <- sysinfo$radian
sysinfo$pqr <- is_pqr()
sysinfo$vscode <- is_vscode()
sysinfo$webr <- is_webr()
sysinfo$wine <- is_wine()
Expand Down

0 comments on commit df733af

Please sign in to comment.