Skip to content

Commit

Permalink
install right shims on R 3.6.0 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainfrancois authored and hadley committed Apr 29, 2019
1 parent 2e883cd commit 34c83fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/shim.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ shim_library_3_1 <- function(package,
}
}

if (getRversion() > "3.6.0") {
if (getRversion() >= "3.6.0") {
shim_library_3_6 <- function(package,
help,
pos = 2,
Expand Down Expand Up @@ -134,7 +134,7 @@ shim_require_3_1 <- function(package,
)
}

if (getRversion() > "3.6.0") {
if (getRversion() >= "3.6.0") {
shim_require_3_6 <- function(package,
lib.loc = NULL,
quietly = FALSE,
Expand Down

0 comments on commit 34c83fd

Please sign in to comment.