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

Package não instala em R mais recente #1

Open
CEA-ADM opened this issue Mar 2, 2023 · 2 comments
Open

Package não instala em R mais recente #1

CEA-ADM opened this issue Mar 2, 2023 · 2 comments

Comments

@CEA-ADM
Copy link

CEA-ADM commented Mar 2, 2023

Olá, bom dia.

Tentei a partir desse vídeo (https://www.youtube.com/watch?v=y0G8HaqN3lw) instalar o package datajudScraper, mas sem sucesso. Não aceita na versão mais recente do R 4.2.2 "Innocent and Trusting". Alguma ajuda? Obrigado!

install.packages("datajudScraper")
Installing package into ‘/home/daniel/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘datajudScraper’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

@jtrecenti
Copy link
Member

Olá! Obrigado pelo contato e pelo interesse no pacote.

O pacote {datajudScraper} não está no CRAN. Por isso a função install.packages() não deve ser usada para instalar o pacote.

No lugar de install.packages(), utilize a função install_github() do pacote {remotes}. Exemplo abaixo:

if (!require(remotes)) install.packages("remotes")
remotes::install_github("abjur/datajudScraper")

@CEA-ADM
Copy link
Author

CEA-ADM commented Mar 2, 2023

Obrigado por já responder

Tentei a partir do seu código e recebi esse erro:

Installing package into ‘/home/daniel/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
ERROR: dependency ‘usethis’ is not available for package ‘datajudScraper’

  • removing ‘/home/daniel/R/x86_64-pc-linux-gnu-library/4.1/datajudScraper’
    Warning messages:
    1: In i.p(...) : installation of package ‘gert’ had non-zero exit status
    2: In i.p(...) :
    installation of package ‘usethis’ had non-zero exit status
    3: In i.p(...) :
    installation of package ‘/tmp/RtmpM6lQlm/file12fdc7e12f8ab/datajudScraper_0.0.0.9000.tar.gz’ had non-zero exit status

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

No branches or pull requests

2 participants