Closed moki1202 closed 7 months ago
Rcheck_reference.log
@mdietze Can I run R CMD check without --as-cran tag and paste the result in the log file? or should I be doing it manually?
How about you try running R CMD check for one of the packages and then do a quick diff between what you get and what's there now in the log file. If the changes are just the lines you expect then the cut-and-paste approach should work. If the diff is huge then there's something else different and pasting the result into the log will just cause all subsequent builds to fail.
More info on failing check: https://yihui.org/en/2023/02/xfun-isfalse/
More info on failing check: https://yihui.org/en/2023/02/xfun-isfalse/
@Aariq I tried looking for a general import or a library declaration of xfun in pecan but couldn't find one, so assuming the isFALSE functions we use are from base, why do we get this error?
The error is because the GitHub actions are somehow using old versions of R packages. Someone just needs to update them. The vignettes build without error locally. It could be something to do with the DESCRIPTION asking for a fixed version of rmarkdown from GitHub. https://github.com/PecanProject/pecan/blob/b3b3191b6d171cf141dac893ed1f591b7ff6c0f8/base/db/DESCRIPTION#L84-L86 I'm guessing someone set these for development reasons and forgot to remove them. They'll have to be removed before going to CRAN anyways, so worth a try getting rid of them?
I copied just base/db to its own repo and set up standard checks with usethis::use_github_action()
and looks like the vignettes are building fine. https://github.com/Aariq/PEcAn.DB/actions/runs/6641355603
These standard checks only fail because of an invalid email address which apparently isn't getting caught here.
The error is because the GitHub actions are somehow using old versions of R packages. Someone just needs to update them. The vignettes build without error locally. It could be something to do with the DESCRIPTION asking for a fixed version of rmarkdown from GitHub.
I'm guessing someone set these for development reasons and forgot to remove them. They'll have to be removed before going to CRAN anyways, so worth a try getting rid of them?
@Aariq Yes, as is detailed in the comment directly above that.
@mdietze Can I run R CMD check without --as-cran tag and paste the result in the log file? or should I be doing it manually?