Hi Posit community,
I'm building an R package for the first time and ran into prep errors when doing the final check using rhub::check_for_cran().
Specifically, the check seems to work for Windows and Linux but fails for "Ubuntu Linux 20.04.1 LTS, R-release, GCC".
Moreover, it is not even clear what the error is for the prep failure in Ubuntu. Here is the email I received from rhub regarding the failure: (CoxAIPW 0.0.1 is my package name)
CoxAIPW 0.0.1: PREPERROR
Build ID: CoxAIPW_0.0.1.tar.gz-84328d7af8874d4d9a292f723057287d
Platform: Ubuntu Linux 20.04.1 LTS, R-release, GCC
Submitted: 3 hours 37 minutes 25.7 seconds ago
Build time: 1 hour 59 minutes 44.5 seconds
See the full build log: text, artifacts.
I also include below a successful check on windows from rhub:
CoxAIPW 0.0.1: NOTE
Build ID: CoxAIPW_0.0.1.tar.gz-29e32f4c74804f459dc489bc00df30d9
Platform: Windows Server 2022, R-devel, 64 bit
Submitted: 3 minutes 53.7 seconds ago
Build time: 3 minutes 19.1 seconds
NOTES:
-
checking CRAN incoming feasibility ... NOTE Maintainer >' New submission Possibly misspelled words in DESCRIPTION: AIPW (10:196, 10:534)
-
checking examples ... NOTE Examples with CPU (user + system) or elapsed time > 5s user system elapsed CoxAIPW 5.55 0.41 5.95
-
checking for detritus in the temp directory ... NOTE Found the following files/directories: 'lastMiKTeXException'
Please let me know if anyone has any ideas why, thanks.