Re: [Rd] R test coverage

2023-11-28 Thread Lluís Revilla
Hi Jim, Thanks for the info. I disregarded covr in my search results as I thought it would only apply to packages outside base and recommended. The code is pure R code so it might work, but it reads a file so it might involve some C code. Thanks! Lluís On Mon, 27 Nov 2023 at 20:11, Jim Hester

Re: [Rd] R test coverage

2023-11-27 Thread Jim Hester
It should be possible to use covr to do this, see this old issue (https://github.com/r-lib/covr/issues/59). However interpreting the results can prove challenging as naturally covr uses functions from the base internally. Unfortunately the base and many of the internal and recommended packages

[Rd] R test coverage

2023-11-27 Thread Lluís Revilla
Hi all, I recently proposed a change in R that has led to the addition of new code to the R source code. The code added, as far as I know, has no tests and it might affect many packages in CRAN. I was wondering if adding a test would be helpful or it is already covered by some other test. Which