Not able to knit file package X was installed before R 4.0.0 please re-install it


Upon knitting I keep getting

Error: package or namespace load failed for 'kableExtra':
 package 'rstudioapi' was installed before R 4.0.0: please re-install it
Execution halted

I recompiled rstudioapi and kableExtra... but I still get this error message.

Thank you

Try updating your packages with

update.packages(ask=FALSE, checkBuilt=TRUE)

I solver the problem by loading the package as the first one. I don't know why but now it compiles fine.

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