Skip to content

Commit 7adbfaa

Browse files
committed
fix example in cleanup_by_species; add cran mirror in some vignettes
1 parent 012c7da commit 7adbfaa

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

R/cleanup_by_species.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#'
2121
#' @examples
2222
#' catch <- surveyresamplr::noaa_nwfsc_catch
23-
#' spp_list <- data.frame(
23+
#' spp_info <- data.frame(
2424
#' srvy = "CA",
2525
#' common_name = "arrowtooth flounder",
2626
#' file_name = "arrowtooth_flounder",

vignettes/afsc-bs.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ knitr::opts_chunk$set(
1515
```
1616

1717
```{r setup}
18+
# set CRAN mirror
19+
options(repos = c(CRAN = "https://cran.rstudio.com"))
20+
1821
# Get rid of memory limits -----------------------------------------------------
1922
options(future.globals.maxSize = 1 * 1024^4) # Allow up to 1 TB for globals
2023

vignettes/afsc-ebs.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ knitr::opts_chunk$set(
1515
```
1616

1717
```{r setup}
18+
# set CRAN mirror
19+
options(repos = c(CRAN = "https://cran.rstudio.com"))
20+
1821
# Get rid of memory limits -----------------------------------------------------
1922
options(future.globals.maxSize = 1 * 1024^4) # Allow up to 1 TB for globals
2023

0 commit comments

Comments
 (0)