Is there any way I could raise my own NOTE exception from within the unit tests in the checking tests ... step of R CMD check
?
In general I would like to have a NOTE in 00check.log
if database was not available during unit tests.
Dirty solutions welcome.
Update: Actually I see much more use cases for such feature, adding bounty.
Log
object in the environment of thetools
package. – Linkprint
inside of a testing file. It's not a NOTE, but at least its some output you could check for that isn't going to make the check fail. – Mcmilliandevtools::release()
. From the help file: "You can also add arbitrary extra questions by defining an (un-exported) function called release_questions() that returns a character vector of additional questions to ask" – Larsen