-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning message: In readLines(filename) : incomplete final line found on 'test.R' #327
Comments
Thanks, that worked. Sorry for reporting such a minor thing~ |
No worries, it is a little confusing, unfortunately the error message is coming from |
Hello! Full message is: Warning message: |
@gitmexanism I think that option only appends to files that have been modified since they were last saved. Could you add a newline and retry linting it, please. |
If you use readr::read_lines(), that missing newline won'be be an issue. |
Since #562 we actually catch this warning. One could create a |
Getting above error message when linting a very simple chunk of code.
`runtimetool <- function(x) {
start_time <- Sys.time()
Sys.sleep(x)
end_time <- Sys.time()
time_taken <- end_time - start_time
return(time_taken)
}`
The text was updated successfully, but these errors were encountered: