-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
understanding false negatives #330
Comments
Weird. Is it reproducible? |
In what sense? It is reproducible on this machine. So far I've only tried it on one other platform and it was not reproducible there. (I spent a Iittle while digging through the code to try to see where output is parsed to detect errors, etc., but the design is too complex for me to be able to do this in a reasonable amount of time/effort ...) I thought it might conceivably have something to do with the fact that my R packages are in a directory that's symbolic-linked from elsewhere, but copying everything to a different (no-link) place doesn't seem to make any difference. |
My guess would be that it is a bug in the
Can you try running this on your machine? Another thing to make sure is that only base and recommended packages are in |
Ah. I suspect that "only base and recommended packages are in (Is this documented somewhere? I could easily have missed it ...) |
We create two new isolated libraries, one for the checks with the CRAN version and one for the new version of your package. But we can't really isolate them completely if you also have packages installed in I don't see how that could cause this issue, though, but I think in general it is good practice to install your packages in a user library, which revdepcheck can then ignore. |
rcmdcheck::parse_check("checks/broomExtra/new/broomExtra.Rcheck/00check.log") does produce the expected "1 error" output ... does that rule out the "issue is with |
Can you try to run this check again, with a clean
|
I've cleaned up my Another complication is that the previous issue with the So I may have fixed the problem by moving extraneous packages out of |
Keep your non-core packages at
That is available even with
|
(Sometime I will get back to this.) The reason I didn't use the FWIW I've managed a bit of a workaround, for now, by hacking my own comparison:
|
tl;dr check appears to fail but not reported. Suggestions for what to check/try next are welcome.
Repo is here if anyone wants to experiment.
I am baffled. With the current development version of
broom.mixed
(GitHub HEAD) installed, fresh install ofrevdepcheck
1.0.0.9001 viaremotes::
,revdep_check()
(run in the package directory) reportsbroomExtra
as being fine:but if I examine
broom.mixed/revdep/checks/broomExtra/new/broomExtra.Rcheck/00check.log
I see that the log ends with the an error. (full log: 00check.log)Running
R CMD check
from the command line reproduces the error:On another machine (MacOS/R 4.1.3) the errors are reported properly.
Session info:
The text was updated successfully, but these errors were encountered: