Interesting!! I have never seen that error before!! I presume this is the result of an apt-get install? How did you install R?
RStudio provides an opinionated R build for linux operating systems that you are welcome to try out here, if you'd like: https://docs.rstudio.com/resources/install-r/
The other option is to try building from source. There are many resources on the topic, but this article explains one approach and its motivation: