diff div_index.r @ 2:bcbad4f83dec draft default tip

planemo upload for repository https://github.com/Marie59/champ_blocs commit 075fd90d1a39ae7912b48549e5537971635b9620
author ecology
date Sat, 18 Mar 2023 16:49:19 +0000
parents b67730406f1b
children
line wrap: on
line diff
--- a/div_index.r	Wed Jan 04 13:21:30 2023 +0000
+++ b/div_index.r	Sat Mar 18 16:49:19 2023 +0000
@@ -10,17 +10,6 @@
 
 #####Packages : dplyr
 #               tidyr
-#               readr
-#               writexl
-#               stringr
-#               readxl
-#               tibble
-#               lubridate
-#               cowplot
-#               magrittr
-#               rmarkdown
-library(magrittr)
-library(dplyr)
 #####Load arguments
 
 args <- commandArgs(trailingOnly = TRUE)
@@ -106,7 +95,7 @@
 qecnato0$Face <- as.character(qecnato0$Face)
 
 div_list <- vector("list", length(unique(qecnato0$site_year_month_day)))
-
+library(dplyr)
 for (i in c(1:nrow(qecnato0))) {
   div_i <- dplyr::filter(qecnato0, site_year_month_day == qecnato0$site_year_month_day[i])