Skip to content

single line .lintr without trailing linebreak #189

@gdkrmr

Description

@gdkrmr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions