Skip to content

Commit

Permalink
Fix .DollarNames error with refined export (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley authored Sep 5, 2024
1 parent 450b603 commit bcbe0fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Generated by roxygen2: do not edit by hand

S3method(.DollarNames,R6)
S3method(as.list,R6)
S3method(format,R6)
S3method(format,R6ClassGenerator)
S3method(plot,R6)
S3method(print,R6)
S3method(print,R6ClassGenerator)
S3method(utils::.DollarNames,R6)
export(R6Class)
export(is.R6)
export(is.R6Class)
2 changes: 1 addition & 1 deletion R/r6_class.R
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ R6Class <- encapsulate(function(classname = NULL, public = list(),
generator
})

#' @export
#' @exportS3Method utils::.DollarNames
.DollarNames.R6 <- function(x, pattern) {
names <- NextMethod()
names <- setdiff(names, c(".__enclos_env__", "initialize"))
Expand Down

0 comments on commit bcbe0fb

Please sign in to comment.