[R] Error in read.dcf(file = tmpf) : Line starting '<head> ...' is malformed!

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Aug 19 22:56:40 CEST 2011



On 19.08.2011 16:45, Benoit Bruneau wrote:
> Dear R-Users,
>
> I'm trying to setup a personal repository for a few packages I'm working on.
> I am on R-Forge but I still need to have various versions of my package that
> R-Forge does not build (for R 2.8.1 for example).
>
> So I followed the instructions in this document:
> Hhttp://
> cran.r-project.org/doc/manuals/R-admin.html#Setting-up-a-package-repository
>
> and used this function as recommended:
> *write_PACKAGES()*
>
> Now, when I try to install or update my package, I get:
>
> *install.packages("bmisc", repos="http://www.benoitr.comze.com/R")**
>> Error in read.dcf(file = tmpf) : Line starting '<head>  ...' is malformed!*
>
> Can someone help me with this ?


Yes:
R-2.8.1 under Windows will look into
  http://www.benoitr.comze.com/R/bin/windows/contrib/2.8/...
for packages - and that does not exist. You just provide a binary 
directory For R-2.13.x

You have to build a binary with R-2.8.x for the ..../2.8/ repository.
It is cumbersome to support so many binary versions since you have to 
build a binary of your package for each of the R versions you want to 
support.

Best,
Uwe Ligges




>
> Benoit
> -----------------------------------------------------------------------
> R: 2.13.1
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list