-
Notifications
You must be signed in to change notification settings - Fork 186
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
Error in rep.int(character, length) : invalid 'times' value #1953
Comments
Sorry about that. Are you using the latest dev version? I thought this error was fixed already. |
Thanks for super fast reply! I was using CRAN. With github main branch version it's telling me this:
At least I know which linter broke in which file now. Still wondering which line(s) caused the linter to break though. |
Hmm. It seems to be doing that for all my files. Odd. |
Ahh! Because of the way emacs indents my R, I'm writing my functions like this: slack_message <- function
(
txt,
...,
channel = config::get("slack")$channel,
username = config::get("slack")$username,
token = NULL
) {
...
} If I put the |
thanks! I agree we shouldn't error. you may be interested in the new double indent style for functions in the tidyverse guide: |
That looks almost like what I've been doing. I'm indenting function args same depth as code, giving The trick to getting TheOneTrueEditor to indent according to double indent style was It'll do until we get |
Is there any way to make it tell me at least what file it errored out in? Or which line in the lintr code? Anything? I know this bug report is supremely unhelpful, but there is nothing else I've got.
The text was updated successfully, but these errors were encountered: