I have created a new package so I found this issue when I wrote devtools::check()
β― checking examples ... ERROR
Running massageExamples to create 'first-Ex.R' failed
Error in find.package(package, lib.loc) :
there is no package called 'first'
Calls: <Anonymous> -> Rd_db -> find.package
Execution halted
NONE
R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8
[2] LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base