Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error of lib RPostgres not being installed #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fabio1079
Copy link

A biblioteca RPostgres não estava sendo instalada corretamente:

Execution halted
ERROR: lazy loading failed for package ‘RPostgres’
* removing ‘/usr/local/lib/R/site-library/RPostgres’

The downloaded source packages are in
	‘/tmp/RtmpUoP8bv/downloaded_packages’
Warning messages:
1: In install.packages(c("RPostgres"), repos = "http://cran.rstudio.com/") :
  installation of package ‘hms’ had non-zero exit status
2: In install.packages(c("RPostgres"), repos = "http://cran.rstudio.com/") :
  installation of package ‘RPostgres’ had non-zero exit status

Esse PR corrige a instalação dessa lib.

@fabio1079 fabio1079 requested a review from ArthurJahn February 7, 2022 20:27
@fabio1079 fabio1079 self-assigned this Feb 7, 2022
@ArthurJahn
Copy link
Contributor

@fabio1079 Você chegou a testar a instalação fora do ambiente do AirFlow?

@@ -3,6 +3,6 @@ FROM rocker/tidyverse:3.6.2
WORKDIR /leggo-twitter-dados

RUN R -e "install.packages(c('here', 'optparse', 'RCurl'), repos='http://cran.rstudio.com/')"
RUN R -e "install.packages(c('RPostgres'), repos='http://cran.rstudio.com/')"
RUN R -e "install.packages(c('RPostgres'))"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RUN R -e "install.packages(c('https://cran.r-project.org/src/contrib/Archive/RPostgres/RPostgres_1.3.3.tar.gz'), repos=NULL, type='"SOURCE"')"

Uma maneira de instalar passando a versão. @ArthurJahn @fabio1079

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants