msperlin / GetDFPData2

Repository for the development of R package GetDFPData2
36 stars 8 forks source link

Erro no get_info_company #5

Closed rafaellabbarreto closed 2 years ago

rafaellabbarreto commented 2 years ago

Oi Professor! Tentei rodar os seguintes comandos no R:

df_info <- get_info_companies() df_info <- get_info_companies(tempdir())

Ambos com o erro:

_Fetching info on B3 companies Dowloading file from CVM File not found, downloading it.. sh: wget: command not found Error in utils::download.file(url = dl_link, destfile = dest_file, method = "wget", : 'wget' call had nonzero exit status In addition: Warning message: In system(paste("wget", paste(extra, collapse = " "), shQuote(url), : error in running command Error in if (file.size(destfile) < 10) { : missing value where TRUE/FALSE needed

msperlin commented 2 years ago

Oi RAfella,

Estás no Mac ou windows?

Acredito que deves instalar o wget antes de rodar. Podes confirmar se isso resolve?

rafaellabbarreto commented 2 years ago

Não deu certo...

Estou no Mac.

rafaellabbarreto commented 2 years ago

Professor, deu certo agora! instalei o wget e reiniciei, aí sim. Obrigada

msperlin-finor commented 2 years ago

Ok ótimo.