NEFSC / READ-SSB-CHAJI-Effort-Displacement---Scallop

Other
0 stars 0 forks source link

cannot open connection #245

Closed mle2718 closed 5 months ago

mle2718 commented 5 months ago

This fragment fails for @Ardini-NOAA

https://github.com/NEFSC/READ-SSB-CHAJI-Effort-Displacement---Scallop/blob/fd0e83c3a8366b7c38b019ddf9a3f784e5972e53/analysis_code/scallop_analysis_tiny_report.Rmd#L670-L680 Error:

Quitting from lines 672-681 [manually save data for case study comparisons] (scallop_analysis_tiny_report.Rmd)
Error in `gzfile()`:
! cannot open the connection
Backtrace:
 1. base::saveRDS(...)
 2. base::gzfile(file, mode)
Execution halted

because here("data","main","casestudies") does not already exists.

mchaji commented 5 months ago

I'll take a look at this, but we shouldn't need this chunk anymore right?

mle2718 commented 5 months ago

@mchaji -- we need it. it's the code that produces that Rds files that are read in by the case_study_comparisions.Rmd.

It's the i know what the fix is.