Skip to content

Commit

Permalink
improve ?.function supports :: to specify package
Browse files Browse the repository at this point in the history
  • Loading branch information
atusy committed Nov 17, 2018
1 parent ae0bc62 commit a236ce5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/question.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#' @inheritParams ?
#' @export
`?.function` <- function() {
f <- deparse(substitute(e1))
base::print.function(e1)
help(f)
.felp <- felp
formals(.felp)$x <- substitute(e1)
.felp()
}
#' @rdname question
#' @aliases ?
Expand Down

0 comments on commit a236ce5

Please sign in to comment.