We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 004364f commit 208db3bCopy full SHA for 208db3b
R/qenv-eval_code.R
@@ -60,7 +60,7 @@ setMethod("eval_code", signature = c(object = "qenv.error"), function(object, co
60
for (this in out) {
61
if (inherits(this, "source")) {
62
this_code <- gsub("\n$", "", this$src)
63
- attr(this_code, "dependency") <- extract_dependency(parse(text = this_code))
+ attr(this_code, "dependency") <- extract_dependency(parse(text = this_code, keep.source = TRUE))
64
new_code <- c(new_code, stats::setNames(list(this_code), sample.int(.Machine$integer.max, size = 1)))
65
} else {
66
last_code <- new_code[[length(new_code)]]
0 commit comments