Description
I deleted a region, and when rebuilding got error just after raw data had be rewritten, during document() step.
Error was that clean.newf wasn't an exported objected in namespace
I think the problem is that the datasets.R file still had the documentation for that region. It would be a pain to regenerate the datasets.R file (even though most is automated). I think it might be better to just not document at every step, if possible.
Right now I just went to the remake.R script and skipped that raw <- document()
line, and just ran the line that cleaned newf. Then re-running, i got same error for clean.sgulf, another region that had been removed. So I think my guess here is correct.
Need to either regenerate datasets.R (ugh), or just avoid doing document() until very end (preferable).