sambrilleman / rstanarm

rstanarm R package for Bayesian applied regression modeling
http://mc-stan.org/interfaces/rstanarm.html
GNU General Public License v3.0
0 stars 1 forks source link

DESCRIPTION is not in valid DCF format #70

Open jburos opened 7 years ago

jburos commented 7 years ago

Summary:

Seeing the following when running:

devtools::install_github('sambrilleman/rstanarm', ref = 'master', args = '--preclean', local = FALSE)

Output:

Updating roxygen version in  /tmp/RtmptiyNgC/R.INSTALL3c219d94e1c/rstanarm/DESCRIPTION 
Error: Line starting '1.10.0), ...' is malformed!
Execution halted
Error : file '/tmp/RtmptiyNgC/R.INSTALL3c219d94e1c/rstanarm/DESCRIPTION' is not in valid DCF format
ERROR: installing package DESCRIPTION failed for package ‘rstanarm’
* removing ‘/home/jacquelineburos/projects/simtest_jm/Rlib/rstanarm’
Installation failed: Command failed (1)

Reproducible Steps:

devtools::install_github('sambrilleman/rstanarm', ref = 'master', args = '--preclean', local = FALSE)

RStanARM Version:

Master branch of sambrilleman/rstanarm

R Version:

3.3.3

Operating System:

Linux (ubuntu)

jburos commented 7 years ago

Possibly worth noting that using local = TRUE (instead of FALSE) does not yield the same error.

sambrilleman commented 7 years ago

I was a bit puzzled by this. I can't seem to reproduce the error, but I'm using R 3.4.0 and roxygen2 6.0.1 and Windows, so perhaps these make a difference. I'm not sure.

However, wierdly I was getting these lines printed during my attempt at reproducing your error:

Writing NAMESPACE
Error: Can not find template reference-stan-manual
In addition: Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'data.table (>=
1.10.0)'
2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'rstan (>=
2.14.2)'
Execution halted
Warning: running command 'sh ./cleanup.win' had status 1
** libs
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture

which suggests that R thinks the version numbers are part of the package names for data.table and rstan, or that there is a line break instead of a space between >= and the version number of package. (Those packages are actually installed). Nonetheless my install of rstanarm seems to complete ok anyway, so I'm not sure what is going on!