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 99d45a3 commit 61ba7a7Copy full SHA for 61ba7a7
R/trace_tests.R
@@ -190,7 +190,10 @@ update_current_test <- function() {
190
191
has_srcfile <- viapply(syscall_srcfile, length) > 0L
192
srcfile_tmp <- logical(length(has_srcfile))
193
- srcfile_tmp[has_srcfile] <- startsWith(syscall_srcfile[has_srcfile], normalizePath(.libPaths()[[1]]))
+ srcfile_tmp[has_srcfile] <- startsWith(
194
+ syscall_srcfile[has_srcfile],
195
+ normalizePath(.libPaths()[[1]], mustWork = FALSE)
196
+ )
197
198
test_frames <- if (any(srcfile_tmp)) {
199
# if possible, try to take any frames within the temporary library
0 commit comments