Skip to content

Commit

Permalink
change version logic to character vector
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-connelly-cmap committed Jul 31, 2024
1 parent 13563f0 commit 638e511
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Authors@R: c(
person("Matthew", "Stern",
role = "aut",
comment = c(ORCID = "0000-0001-9119-2121")),
person("Sean", "Connelly",
role = "aut",
email = "[email protected]"),
person("Chicago Metropolitan Agency for Planning",
role = c("cph", "fnd")))
Description: Provides themes and color scales for 'ggplot2', based on Chicago
Expand Down
2 changes: 1 addition & 1 deletion R/cmapplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

# ... and check on rstudio graphics
if (rstudioapi::isAvailable()){
if(rstudioapi::getVersion() > 1.4){
if(rstudioapi::getVersion() > "1.4"){
if(getOption("RStudioGD.backend") != "ragg"){
options(RStudioGD.backend = "ragg")
packageStartupMessage(paste(
Expand Down

0 comments on commit 638e511

Please sign in to comment.