Errors when installing tabulizer package on Mac RStudio

I'm attempting to download and install the updated version of tabulizer (1.0.4) on my Mac and an error keeps persisting. It reads:

Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
ERROR: cannot extract package from ‘/Users/davidpearson/Desktop/Summer 2021 Research/tabula-java-1.0.4.tar.gz’
Warning in install.packages :
installation of package ‘/Users/davidpearson/Desktop/Summer 2021 Research/tabula-java-1.0.4.tar.gz’ had non-zero exit status

Hi @dpearson,
Welcome to the RStudio Community Forum.

I suggest you proceed as follows:

  • Install Java on your machine (go to java.com to get the latest version).
  • Make sure you have the latest versions of R and RStudio.
  • Install the latest version of the rJava package for R from CRAN using either the RStudio menu system, or run install.packages("rJava") in the R console. Should be version 1.0-4
  • Finally, install the tabulizer package using install.packages("tabulizer"). Should be version 0.2.2

HTH

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.