Re: [R] Update package dor r-devlop
On 12/10/2014 07:25, Jeff Newmiller wrote: Off topic. See the Posting Guide, which indicates that development questions belong on R-devel. And questions about Mac-specific distributions of R on R-sig-mac. But note that the best way to select source packages is options(pkgType = "source") --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.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 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@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. __ R-help@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. -- Brian D. Ripley, rip...@stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford 1 South Parks Road, Oxford OX1 3TG, UK __ R-help@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.
Re: [R] Update package dor r-devlop
Off topic. See the Posting Guide, which indicates that development questions belong on R-devel. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.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 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@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. __ R-help@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.
[R] Update package dor r-devlop
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@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.