Skip to content

Commit

Permalink
Fix warning on R-4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jun 7, 2024
1 parent 1dd73cd commit 9461b29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/V8.R
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,10 @@ print.V8 <- function(x, ...){

### enable tab completion
#' @rawNamespace if (getRversion() >= "4.3.0" && !is.null(asNamespace("utils")$.AtNames)) S3method(utils::.AtNames,V8)
.AtNames.V8 <- function(x, pattern) {
utils::findMatches(pattern, ls(x))
if(getRversion() >= "4.3.0"){
.AtNames.V8 <- function(x, pattern) {
utils::findMatches(pattern, ls(x))
}
}

# Pretty format function headers
Expand Down

0 comments on commit 9461b29

Please sign in to comment.