Skip to content

Commit 1540454

Browse files
committed
print full traceback
1 parent 8d2e8b3 commit 1540454

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/R-CMD-check-occasional.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,14 @@ jobs:
185185
build_args = "--no-build-vignettes"
186186
check_args = c(check_args, "--no-build-vignettes", "--ignore-vignettes")
187187
}
188-
rcmdcheck::rcmdcheck(args=check_args, build_args=build_args, error_on="warning", check_dir="check")
188+
withCallingHandlers(
189+
rcmdcheck::rcmdcheck(args=check_args, build_args=build_args, error_on="warning", check_dir="check"),
190+
error = \(e) {
191+
print(sys.calls())
192+
message(conditionCall(e))
193+
message(conditionMessage(e))
194+
}
195+
)
189196
shell: Rscript {0}
190197

191198
- name: Upload check results

0 commit comments

Comments
 (0)