Closed brodieG closed 3 years ago
Looks like the "_x64" etc business is to blame:
> library(unitizer)
State tracking is disabled by default to comply with CRAN policies. Add `options(unitizer.state='recommended')` to your 'Rprofile' file to enable, or `options(unitizer.state='off')` to quash this message without enabling. See `?unitizerState` for details.
> cat(getwd(), "\n")
d:/RCompile/CRANguest/R-release/vetr.Rcheck/tests_x64
>
> unitize_dir('unitizer', state='recommended')
Error in setwd(test.dir) : cannot change working directory
Warning in unitize_core(test.files = test.files, store.ids = store.ids, :
Working directory state tracking is in mode 2, but we failed setting director to
'd:/RCompile/CRANguest/R-release/vetr.Rcheck/tests' so we are leaving the
working directory unchanged.
I haven't seen this in years, so assume it's fixed.
Probably related to the tests we have to skip as well since those seemed to involve directory issues as well.