outbreak-info / R-outbreak-info

R package to access the genomics and epidemiology data and Research Library metadata compiled and standardized on outbreak.info.
https://outbreak-info.github.io/R-outbreak-info/
MIT License
20 stars 10 forks source link

Unable to install library(outbreakinfo) #95

Open carlottaolivero opened 1 year ago

carlottaolivero commented 1 year ago

Hi, the comand install.packages("outbreakinfo") doesn't work . The warning message is that the "outbreakinfo" is not available on that version of R.

I currently use Rstudio 2022.07.2, R version 4.2.1

Many thanks for the help! Carlotta

malkuzweny commented 1 year ago

Hi Carlotta,

Use this line of code to install the package instead: devtools::install_github("outbreak-info/R-outbreak-info")

Let us know if the issue persists. Thanks!

carlottaolivero commented 1 year ago

That worked, thanks! I still have a problem in autenticate myself into GISAID using authenticateUser() even if I have GISAID login.

Unfortunatelly I am not an expert on R, I don't know the meaning of:

> Warning: replacing previous import 'crayon::%+%' by 'ggplot2::%+%' when loading

> 'outbreakinfo'

> Warning: replacing previous import 'jsonlite::flatten' by 'purrr::flatten' when

> loading 'outbreakinfo'

looking for help on google, thanks a lot anyway!

malkuzweny commented 1 year ago

Could you open a new issue with more details on what error message you're receiving when using authenticateUser? Thanks.

Dhihram commented 8 months ago

Hi, I've installed using devtools::install_github("outbreak-info/R-outbreak-info"), but it is an error. The message is below:

── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────── Error: Failed to install 'outbreakinfo' from GitHub: lazy-load database 'C:/*****/4.3/prettyunits/R/prettyunits.rdb' is corrupt In addition: There were 13 warnings (use warnings() to see them)