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.
srcref_info()
1 parent baff961 commit d8a8f95Copy full SHA for d8a8f95
crates/ark/src/modules/positron/srcref.R
@@ -118,8 +118,10 @@ srcref_info <- function(srcref) {
118
lines <- srcfile$lines
119
120
if (!identical(file, "") && !identical(file, "<text>")) {
121
- # TODO: Handle absolute paths by using `wd`
122
- file <- normalizePath(file, mustWork = FALSE)
+ if (!is_ark_uri(file)) {
+ # TODO: Handle absolute paths by using `wd`
123
+ file <- normalizePath(file, mustWork = FALSE)
124
+ }
125
content <- NULL
126
} else if (!is.null(lines)) {
127
file <- NULL
0 commit comments