vincentarelbundock / countrycode

R package: Convert country names and country codes. Assigns region descriptors.
https://vincentarelbundock.github.io/countrycode
GNU General Public License v3.0
342 stars 84 forks source link

Error in the latest version of the package? #357

Closed skuchukh closed 2 months ago

skuchukh commented 4 months ago

Hello

I installed countrycode on my newest Amazon AWS EC2 instance, and the I'm getting an error message in countrycode::countrycode(c('Kenya', 'Zimbabwe'), origin = "country.name", destination = "iso3c") : Error in FUN(newX[, i], ...) : unused argument (simplify = FALSE) even though the code was working perfectly fine before on my machine.

I was wondering if you have any thoughts? thank you! Best Salome

vincentarelbundock commented 4 months ago

This bug affects older R versions. It is fixed in the development version, but the fix has not been released to CRAN yet.

You can install from GitHub in the meantime.

skuchukh commented 4 months ago

thanks for your quick response. in fact, I installed it now via install_github('vincentarelbundock/countrycode') but the issue persists.... thoughts? many many thanks1

vincentarelbundock commented 4 months ago

Did you restart your R session?

skuchukh commented 4 months ago

Whoops... this worked! apologies! Thank you for this amazing package

S