r-lib/pkgload

Compilation DB fails on Ubuntu

Closed this issue · 0 comments

pkgload:::generate_db() fails for me. Same as #287.

That fix wasn't comprehensive enough.

Due to Ubuntu Linux 22.04 system apt-installed R giving:

> R.home()
[1] "/usr/lib/R"
> R.home("include")
[1] "/usr/share/R/include"
> R.home("share")
[1] "/usr/share/R/share"

I've isolated the issue - it's a simple fix - will submit a PR.

In relation to: posit-dev/positron#3637 (comment)