Closed colinpmillar closed 5 years ago
if a script errors when calling taf.bootstrap() with a DATA.bib entry that uses a script. Then the state of the working directory is left in `/bootstrap/data/'.
taf.bootstrap()
DATA.bib
perhaps replace: https://github.com/ices-tools-prod/icesTAF/blob/a4841b398159d6ae59350770e84acfd8fd984325/R/process.inner.R#L47-L50
with
owd <- setwd(dir) on.exit({ setwd(owd) }) source(script) setwd(owd)
Current quick fix:
library(<package>, lib.loc = "../../library")
Well spotted, fixed in 60d556b.
if a script errors when calling
taf.bootstrap()
with aDATA.bib
entry that uses a script. Then the state of the working directory is left in `/bootstrap/data/'.perhaps replace: https://github.com/ices-tools-prod/icesTAF/blob/a4841b398159d6ae59350770e84acfd8fd984325/R/process.inner.R#L47-L50
with