Skip to content

Commit a2f5684

Browse files
committed
catch unimplemented synch
1 parent f344268 commit a2f5684

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

R/seaice.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ read_north_seaice <- function(date, latest = TRUE, ...) {
3535
datadir <- get_local_file_root()
3636
if (nrow(files) < 1) {
3737
test <- yesno::yesno(sprintf("no seaice files available, \ndownload and install files to: \n%s?", datadir))
38-
if (test) run_bb_sync()
38+
if (test) {
39+
stop("auto-synch not enabled, see vignette 'get_seaice' for manual config")
40+
}
3941
}
4042
files <- filter(files, str_detect(.data$fullname, "sidads"))
4143
files <- filter(files, str_detect(.data$fullname, "bin$"))

0 commit comments

Comments
 (0)