RStudio C++ diagnostics not working

I have the exact same error as here: Rstudio does not display correct C++ diagnostics; libclang error

I have the same problem on two totally separate machines (one Windows and one macOS) using the latest stable versions of RStudio, R, and Rcpp. The diagnostics claim that the objects are integers when they are actually, for example, of class Rcpp::NumericVector.

I would think that lots of others would be having this same error as well? Has anyone else experienced this issue? Does anyone have any ideas for how to address it?

Has anyone else had this issue?

We're tracking these issues here:

Having the same issue (Windows 10). It's still compiling but I'm having to ignore incorrect diagnostic errors. Any news on a fix?

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