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

install_version issues with DCF/continuation lines #709

Closed
andrewblim opened this issue Jan 27, 2015 · 4 comments
Closed

install_version issues with DCF/continuation lines #709

andrewblim opened this issue Jan 27, 2015 · 4 comments

Comments

@andrewblim
Copy link

Running R 3.1.2 on OS X 10.10.1.

I've observed that on some packages, but not all, install_version gives me an error about continuation lines. An example that I ran into:

  • install_version('RcppEigen', '0.3.2.1.2') gives me an error Error: Found continuation line starting ' The RcppEigen pac ...' at begin of record.
  • install_version('BH', '1.54.0-2') is no problem

It seems like an issue with read.dcf and continuation lines in DESCRIPTION that contain only a period, to indicate a blank line. The above version of RcppEigen happens to have two of these lines in DESCRIPTION, but BH does not.

I debugged read.dcf. It's called 3 times during install_version, twice to an identical file in /var/folders/... that looks like a temp directory, and once to a nearly identical path but in /private/var/folders/... Weirdly, the version in /private/var/folders/... seems to have had the period lines replaced with total blank lines, and .Internal(readDCF(...)) fails, presumably because it reads the next line as a start-of-record line.

I can download and install the old version of RcppEigen with R CMD INSTALL just fine.

@russellpierce
Copy link

bump. also see eddelbuettel/drat#1. Issue also bites with install_github on https://github.com/lianos/buckshot

@hadley
Copy link
Member

hadley commented Apr 24, 2015

Closed in ed3475f

@hadley hadley closed this as completed Apr 24, 2015
@andrewblim
Copy link
Author

Thank you!

@lock
Copy link

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants