Skip to content

Error: contains a blank line #394

Description

@kevinushey

When attempting to install one of our packages with install_github, I get the error:

Error: contains a blank line

From what I can see, it occurs because devtools adds some extra GitHub-specific information to the DESCRIPTION file, but that DESCRIPTION file may have more than one newline ending the file. Hence, a blank line is left between the old DESCRIPTION fields and the new material added by devtools.

I think excessive final newlines should be stripped from the DESCRIPTION before modifying it, just to protect users from this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions