Marek Gierliński
2018-04-23 10:37:40 UTC
I'm trying to install R package kableExtra in my environment:
conda skeleton cran kableextra
conda-build --R 3.4.2 r-kableextra
Every time I do this I get an error message:
Downloading
https://mran.microsoft.com/snapshot/2018-01-01/src/contrib/kableExtra_0.8.0.tar.gz
Error: HTTP 404 NOT FOUND for url
<https://mran.microsoft.com/snapshot/2018-01-01/src/contrib/kableExtra_0.8.0.tar.gz>
There is a cran_mirror variable in the r-kableextra/meta.yaml file and, in
this case, it defaults to https://mran.microsoft.com/snapshot/2018-01-01/.
Alas, the package is not found there.
I couldn't find any way of changing this variable via conda-build or conda
skeleton parameters, so I had to edit the meta.yaml file and manually
replaced {{ cran_mirror }} with https://cran.r-project.org. This solved the
problem.
How do I select CRAN mirror without editing the meta.yaml file?
conda skeleton cran kableextra
conda-build --R 3.4.2 r-kableextra
Every time I do this I get an error message:
Downloading
https://mran.microsoft.com/snapshot/2018-01-01/src/contrib/kableExtra_0.8.0.tar.gz
Error: HTTP 404 NOT FOUND for url
<https://mran.microsoft.com/snapshot/2018-01-01/src/contrib/kableExtra_0.8.0.tar.gz>
There is a cran_mirror variable in the r-kableextra/meta.yaml file and, in
this case, it defaults to https://mran.microsoft.com/snapshot/2018-01-01/.
Alas, the package is not found there.
I couldn't find any way of changing this variable via conda-build or conda
skeleton parameters, so I had to edit the meta.yaml file and manually
replaced {{ cran_mirror }} with https://cran.r-project.org. This solved the
problem.
How do I select CRAN mirror without editing the meta.yaml file?
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/3cee2b71-53b8-4ab8-af0c-05f17253efd1%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/3cee2b71-53b8-4ab8-af0c-05f17253efd1%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.