Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"failed to find package directory" error on Travis-CI while computing code coverage

I am no longer getting code coverage for R package using covr on Travis (e.g., this build) and it gives the following error:

image

Travis never encountered any issues before, as can be seen from the following commits log and suddenly it stopped working-

enter image description here

Here is a link to the GitHub repo for this package that contains all necessary details (like yaml files for travis-ci and codecov):
https://github.com/IndrajeetPatil/ggstatsplot

Any ideas on how to get rid of this error and get travis to provide code coverage percentages for PRs and master branch again?

P.S.
In case you are wondering, this app codecov also has authorization to access data from this repo:

enter image description here

like image 549
Indrajeet Patil Avatar asked Jul 16 '19 09:07

Indrajeet Patil


1 Answers

Turns out this had to do with the newly introduced {{ operator in rlang and covr's interpretation of it.

After this issue was resolved, the Travis-CI has started running code coverage again.

like image 105
Indrajeet Patil Avatar answered Nov 12 '22 22:11

Indrajeet Patil