feat: better tooling, linting, ci, readme#83
Conversation
|
@dfalbel I am trying to setup a Cpp linter. I do this by running However, I still get these errors:
You can inspect the errors here Do you understand why this happens? |
|
Here is data.table's CI file for clang-tidy: https://github.com/Rdatatable/data.table/blob/6e63f5b5a1eb14a374ecc24dc0459f1f15262864/.gitlab-ci.yml#L204 |
|
You probably need to configure the include paths for the linter as those files are in non-conventional include paths and it probably doesn't know how to parse Makevars to extract the correct paths. |
|
I thought I am building |
|
This was a bug in pkgload, installing the dev version fixes it. |
|
Now it's weird that |
|
For some reason, the Compare this with my local I think this then causes the cpp headers to not be found, which results in these error messages: |
|
There was a bug in pkgload for which I submitted a fix: r-lib/pkgload#318 |
|
@dfalbel have you used clang-tidy? If so, which checks would you recommend? |

Summary: