Skip to content

Commit

Permalink
Ignore coverage of s3_register()
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Jun 10, 2020
1 parent 8d20411 commit 22016f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

# For compatibility with R < 3.6.0
# nocov start
s3_register <- function(generic, class, method = NULL) {
stopifnot(is.character(generic), length(generic) == 1)
stopifnot(is.character(class), length(class) == 1)
Expand Down Expand Up @@ -57,3 +58,4 @@ s3_register <- function(generic, class, method = NULL) {

invisible()
}
# nocov end

0 comments on commit 22016f0

Please sign in to comment.