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.
When attempting to install one of our packages with
install_github, I get the error:From what I can see, it occurs because
devtoolsadds some extraGitHub-specific information to theDESCRIPTIONfile, but thatDESCRIPTIONfile may have more than one newline ending the file. Hence, a blank line is left between the oldDESCRIPTIONfields and the new material added bydevtools.I think excessive final newlines should be stripped from the
DESCRIPTIONbefore modifying it, just to protect users from this error.