Skip to content

Commit

Permalink
Merge pull request #303 from renkun-ken/fix-definition
Browse files Browse the repository at this point in the history
Use isf=FALSE
  • Loading branch information
renkun-ken authored Jul 7, 2020
2 parents 6a2c6f5 + ea048d5 commit 5e28167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/workspace.R
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Workspace <- R6::R6Class("Workspace",

get_definition = function(symbol, pkgname = NULL, exported_only = TRUE) {
if (is.null(pkgname)) {
pkgname <- self$guess_namespace(symbol, isf = TRUE)
pkgname <- self$guess_namespace(symbol, isf = FALSE)
if (is.null(pkgname)) {
return(NULL)
}
Expand Down

0 comments on commit 5e28167

Please sign in to comment.