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.
<lints>
1 parent 6a0342e commit 871fee3Copy full SHA for 871fee3
R/addins.R
@@ -5,7 +5,8 @@ addin_lint <- function() {
5
}
6
filename <- rstudioapi::getSourceEditorContext()
7
if (filename$path == "") {
8
- return("Current source has no path. Please save before continue")
+ warning("Current source has no path. Please save before continuing.", call. = FALSE)
9
+ return(flatten_lints(list()))
10
11
12
lint(filename$path)
0 commit comments