I installed the latest RStudio desktop and tried to install tidytext but am getting ISOcode errors

install.packages("tidytext")
Warning in install.packages :
  dependency ‘ISOcodes’ is not available
also installing the dependency ‘stopwords’


  There are binary versions available but the source versions are later:
          binary source needs_compilation
stopwords  0.9.0    1.0             FALSE
tidytext   0.2.0  0.2.3             FALSE

installing the source packages ‘stopwords’, ‘tidytext’

trying URL 'https://cran.rstudio.com/src/contrib/stopwords_1.0.tar.gz'
Content type 'application/x-gzip' length 104532 bytes (102 KB)
==================================================
downloaded 102 KB

trying URL 'https://cran.rstudio.com/src/contrib/tidytext_0.2.3.tar.gz'
Content type 'application/x-gzip' length 3093900 bytes (3.0 MB)
==================================================
downloaded 3.0 MB

Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
  unknown timezone 'zone/tz/2019c.1.0/zoneinfo/America/New_York'
ERROR: dependency ‘ISOcodes’ is not available for package ‘stopwords’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/stopwords’
Warning in install.packages :
  installation of package ‘stopwords’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
  unknown timezone 'zone/tz/2019c.1.0/zoneinfo/America/New_York'
ERROR: dependency ‘stopwords’ is not available for package ‘tidytext’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/tidytext’
Warning in install.packages :
  installation of package ‘tidytext’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/1n/sn5kf0yx3t561ghj7knbxmr40000gn/T/RtmpAOFJPc/downloaded_packages’

ISOcodes package requires R >= 3.5 you would have to update R in order to install that package dependency and then been able to install tidytext

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.