diff div_index.r @ 2:8dc082da41c1 draft default tip

planemo upload for repository https://github.com/Marie59/champ_blocs commit 075fd90d1a39ae7912b48549e5537971635b9620
author ecology
date Sat, 18 Mar 2023 16:49:28 +0000
parents ffaa9a71b2d2
children
line wrap: on
line diff
--- a/div_index.r	Wed Jan 04 13:21:53 2023 +0000
+++ b/div_index.r	Sat Mar 18 16:49:28 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])