I am trying to create a package to be submitted to cran using the following idea that a user run analysis and the analysis is automatically appended to ~/analysis.RDS
So, ~/analysis.RDS is meant to be created once at start use the package, then it will not be recreated again.
For CRAN, this file cannot be created automatically expect in tempdir(), so user need to create a call to initialize_db()
for the first time.
My question is, for package dev with some unit test, can I run initialize_db()
with no CRAN violation?