Benoit Bruneau
2011-Aug-19 14:45 UTC
[R] Error in read.dcf(file = tmpf) : Line starting '<head> ...' is malformed!
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 ? Benoit ----------------------------------------------------------------------- R: 2.13.1 [[alternative HTML version deleted]]
Uwe Ligges
2011-Aug-19 20:56 UTC
[R] Error in read.dcf(file = tmpf) : Line starting '<head> ...' is malformed!
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.
Seemingly Similar Threads
- STI good or bad for my problem?
- update.packages() and install.packages() does not work more because of "Error in read.dcf"
- Lack of final newline in write.dcf changes append usage
- tools:: extracting pkg dependencies from DCF
- PATCH: Add fields argument to installed.packages and available.packages