[R] Update package dor r-devlop

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Sun Oct 12 08:25:11 CEST 2014


Off topic. See the Posting Guide, which indicates that development questions belong on R-devel.

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On October 11, 2014 11:12:40 PM PDT, Marc Girondot <marc_grt at yahoo.fr> wrote:
>I use R-devel 3.2 in order to check "as cran" packages that I develop.
>To maintain my package uptodate, I cannot use the update.packages() 
>directly because the packages are not still compiled for version 3.2. 
>Then I use:
>update.packages(contriburl = contrib.url(repos=options("repos")$repos, 
>type="source"))
>
>But at the time of installation, I get an error, for example:
> > update.packages(contriburl = 
>contrib.url(repos=options("repos")$repos, type="source"))
>nlme :
>  Version 3.1-117 installed in 
>/Library/Frameworks/R.framework/Versions/3.2/Resources/library
>  Version 3.1-118 available at http://cran.irsn.fr/src/contrib
>Update (y/N/c)?  y
>essai de l'URL 'http://cran.irsn.fr/src/contrib/nlme_3.1-118.tgz'
>Error in download.file(url, destfile, method, mode = "wb", ...) :
>   impossible d'ouvrir l'URL 
>'http://cran.irsn.fr/src/contrib/nlme_3.1-118.tgz'
>De plus : Warning message:
>In download.file(url, destfile, method, mode = "wb", ...) :
>   ouverture impossible : le statut HTTP était '404 Not Found'
>Warning in download.packages(pkgs, destdir = tmpd, available =
>available,  :
>   le téléchargement du package ‘nlme’ a échoué
>
>When I use :
>install.packages("nlme", type="source")
>essai de l'URL 'http://cran.irsn.fr/src/contrib/nlme_3.1-118.tar.gz'
>Content type 'application/x-gzip' length 759483 bytes (741 Kb)
>URL ouverte
>==================================================
>downloaded 741 Kb
>
>It works well.
>
>It seems at .tgz is not available in CRAN mirror. It is normal ?
>Is it a way to force .tar.gz to be used ?
>
>Thanks
>
>Marc Girondot
>
>______________________________________________
>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