Skip to content
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

single line .lintr without trailing linebreak #189

Closed
gdkrmr opened this issue Dec 14, 2016 · 1 comment
Closed

single line .lintr without trailing linebreak #189

gdkrmr opened this issue Dec 14, 2016 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@gdkrmr
Copy link

gdkrmr commented Dec 14, 2016

a .lintr file with a single line without trailing \n gives the following error, when calling Rscript -e 'lintr::lint_package()':

Error in mapply(function(from, to) paste(lines[from:to], collapse = "\n"),  : 
  zero-length inputs cannot be mixed with those of non-zero length
Calls: <Anonymous> -> read_settings -> read.dcf -> mapply
Execution halted
@russHyde russHyde added the bug an unexpected problem or unintended behavior label Jan 12, 2019
@jimhester
Copy link
Member

This seems to be a duplicate of #160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants