I'm trying to extract tables from a pdf using the tabulizer package in R. I run the following line:
table <- extract_tables('https://fm.dk/media/17137/oekonomisk-redegoerelse-august-2019_weba.pdf', pages = 20)
However I keep getting this error:
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.IllegalAccessException: class RJavaTools cannot access a member of class java.util.ArrayList$Itr (in module java.base) with modifiers "public"
I'm able to extract metadata from the pdf, so I'm pretty certain it is not problem with the installation of the tabulizer package, but more a java problem, which I'm not very experienced.