r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

request to set `_R_CHECK_TESTS_NLINES_=0` #401

Closed pawelru closed 2 months ago

pawelru commented 2 months ago

This would print out all the output lines in case of test failure. Sometimes the stack trace is quite lengthy and just 13 lines of it (a default value) doesn't help much. This diverges from the default a little but I feel there is a value for package maintainers. Alternatively, this could be a very big number (1000?) to avoid some extreme case. I'm interested in hearing your thoughts on this.

jeroen commented 2 months ago

Are you aware you can see all the install/test logs by clicking underneath the check output in the GHA logs?

Screenshot 2024-04-30 at 18 11 15
pawelru commented 2 months ago

Yes. This is what I'm referring to. On test failure, rcmdcheck reports only last 13 lines of output. This is not very actionable. An example: https://github.com/r-universe/pharmaverse/actions/runs/8882670125/job/24388015743 image (highlighted the part telling about 13 lines of output)

jeroen commented 2 months ago

I mean underneath the check log, you can expand the full log files:

326893945-c25bed28-aad4-4876-a710-5c60f9d913b3
pawelru commented 2 months ago

Yes. This is what I need. Thanks for pointing this!