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.
2 parents 9c33c3a + 1eae133 commit 897e5a8Copy full SHA for 897e5a8
R/qenv-eval_code.R
@@ -70,7 +70,7 @@ setMethod("eval_code", signature = c(object = "qenv.error"), function(object, co
70
for (this in out) {
71
if (inherits(this, "source")) {
72
this_code <- gsub("\n$", "", this$src)
73
- attr(this_code, "dependency") <- extract_dependency(parse(text = this_code))
+ attr(this_code, "dependency") <- extract_dependency(parse(text = this_code, keep.source = TRUE))
74
new_code <- c(new_code, stats::setNames(list(this_code), sample.int(.Machine$integer.max, size = 1)))
75
} else {
76
last_code <- new_code[[length(new_code)]]
0 commit comments