From 28411573ed6b71ea071c1d4f3ab91ef9df8c515f Mon Sep 17 00:00:00 2001 From: "Otto, Dr. Saskia" <saskia.otto@uni-hamburg.de> Date: Fri, 5 Feb 2021 15:43:03 +0100 Subject: [PATCH] cleaned script --- data-raw/sharks_fb.R | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/data-raw/sharks_fb.R b/data-raw/sharks_fb.R index 1bb4484..0efc4b3 100644 --- a/data-raw/sharks_fb.R +++ b/data-raw/sharks_fb.R @@ -2,8 +2,8 @@ library(tidyverse) # install.packages("rfishbase", -# repos = c("http://packages.ropensci.org", "http://cran.rstudio.com"), -# type="source") +# repos = c("http://packages.ropensci.org", "http://cran.rstudio.com"), +# type="source") library("rfishbase") @@ -13,7 +13,6 @@ library("rfishbase") ###################### All sharks in fishbase ################## -# Generate the shark data list from fishbase ### Retrieve data from FISHBASE API @@ -160,5 +159,9 @@ sharklist_fb[[1]] ############################## Save datasets ############################# -usethis::use_data(sharks_fb, sharklist_fb, overwrite = TRUE) -rm(list = ls()) +# usethis::use_data( +# sharks_fb, sharklist_fb, +# overwrite = TRUE +# ) +# +# rm(list = ls()) -- GitLab