Discussion:
[R] Update package dor r-devlop
Marc Girondot
2014-10-12 06:12:40 UTC
Permalink
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"))
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
Jeff Newmiller
2014-10-12 06:25:11 UTC
Permalink
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.
Post by Marc Girondot
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.
update.packages(contriburl = contrib.url(repos=options("repos")$repos,
type="source"))
Post by Marc Girondot
update.packages(contriburl =
contrib.url(repos=options("repos")$repos, type="source"))
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'
impossible d'ouvrir l'URL
'http://cran.irsn.fr/src/contrib/nlme_3.1-118.tgz'
ouverture impossible : le statut HTTP ?tait '404 Not Found'
Warning in download.packages(pkgs, destdir = tmpd, available =
le t?l?chargement du package ?nlme? a ?chou?
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.
Prof Brian Ripley
2014-10-12 06:56:27 UTC
Permalink
Post by Jeff Newmiller
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")
Post by Jeff Newmiller
---------------------------------------------------------------------------
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.
Post by Marc Girondot
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.
update.packages(contriburl = contrib.url(repos=options("repos")$repos,
type="source"))
Post by Marc Girondot
update.packages(contriburl =
contrib.url(repos=options("repos")$repos, type="source"))
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'
impossible d'ouvrir l'URL
'http://cran.irsn.fr/src/contrib/nlme_3.1-118.tgz'
ouverture impossible : le statut HTTP ?tait '404 Not Found'
le t?l?chargement du package ?nlme? a ?chou?
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.
______________________________________________
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.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK
Loading...