Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

317
Visualizações
adding R package for installation from Github in Dockerfile

How must I add installation instruction for a R package using github with my Dockerfile.

The usual command in R environment is:

devtools::install_github("smach/rmiscutils")

But no success so far. Tried to add github repo to installation instructions:

RUN install2.r --error \ 
    -r 'http://cran.rstudio.com' \
    -r 'http://github.com/smach/rmiscutils' 

But I get an error:

error in download. Status was '404 Not found'

Maybe using vanilla R call but can't figure the command. Any Hint?

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Try this:

RUN installGithub.r smach/rmiscutils \
&& rm -rf /tmp/downloaded_packages/

A good practice is to remove all downloaded packages to reduce image size.

Here added command when installing from Bioconductor (in case someone ends here searching for help)

RUN install2.r -r http://bioconductor.org/packages/3.0/bioc --deps TRUE \
    phyloseq \
    && rm -rf /tmp/downloaded_packages/
about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda