[Stacomir-commits] r599 - in pkg/stacomir: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 12 08:55:26 CET 2021


Author: briand
Date: 2021-11-12 08:55:26 +0100 (Fri, 12 Nov 2021)
New Revision: 599

Added:
   pkg/stacomir/R/NAMESPACE
Modified:
   pkg/stacomir/DESCRIPTION
   pkg/stacomir/R/stacomiR-package.R
Log:
Edits in imports and include suggest withr

Modified: pkg/stacomir/DESCRIPTION
===================================================================
--- pkg/stacomir/DESCRIPTION	2021-11-12 07:39:10 UTC (rev 598)
+++ pkg/stacomir/DESCRIPTION	2021-11-12 07:55:26 UTC (rev 599)
@@ -89,12 +89,13 @@
     xtable,
     mgcv,
     rlang,
-    pool
+    pool   
 Suggests:
     testthat,
     viridis,
     knitr,
-    rmarkdown
+    rmarkdown,
+    withr
 Author: Cedric Briand [aut, cre],
     Marion Legrand [aut],
     Beaulaton Laurent [ctb],

Added: pkg/stacomir/R/NAMESPACE
===================================================================
--- pkg/stacomir/R/NAMESPACE	                        (rev 0)
+++ pkg/stacomir/R/NAMESPACE	2021-11-12 07:55:26 UTC (rev 599)
@@ -0,0 +1,137 @@
+# Generated by roxygen2: do not edit by hand
+
+export(calcule)
+export(charge)
+export(charge_complement)
+export(charge_with_filter)
+export(choice_c)
+export(colortable)
+export(createmessage)
+export(envir_stacomi)
+export(fun_aggreg_for_plot)
+export(fun_date_extraction)
+export(fun_report_mig_interannual)
+export(fun_report_mig_mult)
+export(fun_report_mig_mult_overlaps)
+export(fun_stage_durif)
+export(fun_write_monthly)
+export(funstat)
+export(getvalue)
+export(model)
+export(setasqualitative)
+export(split_per_day)
+export(stacomi)
+export(supprime)
+export(vector_to_listsql)
+export(write_database)
+exportClasses(report_annual)
+exportClasses(report_dc)
+exportClasses(report_df)
+exportClasses(report_env)
+exportClasses(report_ge_weight)
+exportClasses(report_mig)
+exportClasses(report_mig_char)
+exportClasses(report_mig_env)
+exportClasses(report_mig_interannual)
+exportClasses(report_mig_mult)
+exportClasses(report_ope)
+exportClasses(report_sample_char)
+exportClasses(report_sea_age)
+exportClasses(report_silver_eel)
+exportClasses(report_species)
+exportMethods(barplot)
+exportMethods(choice_c)
+exportMethods(plot)
+exportMethods(print)
+exportMethods(summary)
+exportMethods(supprime)
+exportMethods(write_database)
+exportMethods(xtable)
+import(RColorBrewer)
+import(RPostgreSQL)
+import(ggplot2)
+import(methods)
+import(stacomirtools)
+import(stringr)
+import(xtable)
+importFrom(Hmisc,capitalize)
+importFrom(Hmisc,wtd.quantile)
+importFrom(dplyr,desc)
+importFrom(dplyr,do)
+importFrom(dplyr,filter)
+importFrom(dplyr,first)
+importFrom(dplyr,group_by)
+importFrom(dplyr,min_rank)
+importFrom(dplyr,mutate)
+importFrom(dplyr,rename)
+importFrom(dplyr,select)
+importFrom(dplyr,summarize)
+importFrom(dplyr,ungroup)
+importFrom(grDevices,adjustcolor)
+importFrom(grDevices,dev.new)
+importFrom(grDevices,gray)
+importFrom(grDevices,gray.colors)
+importFrom(grDevices,rainbow)
+importFrom(graphics,abline)
+importFrom(graphics,arrows)
+importFrom(graphics,axis)
+importFrom(graphics,axis.Date)
+importFrom(graphics,hist)
+importFrom(graphics,layout)
+importFrom(graphics,legend)
+importFrom(graphics,matplot)
+importFrom(graphics,mtext)
+importFrom(graphics,par)
+importFrom(graphics,points)
+importFrom(graphics,polygon)
+importFrom(graphics,rect)
+importFrom(graphics,segments)
+importFrom(graphics,text)
+importFrom(grid,gpar)
+importFrom(grid,grid.layout)
+importFrom(grid,grid.newpage)
+importFrom(grid,pushViewport)
+importFrom(grid,viewport)
+importFrom(intervals,"closed<-")
+importFrom(intervals,Intervals)
+importFrom(intervals,interval_overlap)
+importFrom(lattice,barchart)
+importFrom(lattice,simpleKey)
+importFrom(lattice,trellis.par.get)
+importFrom(lattice,trellis.par.set)
+importFrom(lubridate,"%m+%")
+importFrom(lubridate,floor_date)
+importFrom(lubridate,isoweek)
+importFrom(lubridate,round_date)
+importFrom(lubridate,years)
+importFrom(magrittr,"%>%")
+importFrom(mgcv,gam)
+importFrom(pool,dbExecute)
+importFrom(pool,dbGetQuery)
+importFrom(pool,dbWriteTable)
+importFrom(pool,poolClose)
+importFrom(reshape2,dcast)
+importFrom(reshape2,melt)
+importFrom(stats,AIC)
+importFrom(stats,as.formula)
+importFrom(stats,coef)
+importFrom(stats,coefficients)
+importFrom(stats,complete.cases)
+importFrom(stats,ftable)
+importFrom(stats,na.fail)
+importFrom(stats,nls)
+importFrom(stats,pbeta)
+importFrom(stats,predict)
+importFrom(stats,sd)
+importFrom(stats,update)
+importFrom(stats,xtabs)
+importFrom(utils,data)
+importFrom(utils,globalVariables)
+importFrom(utils,menu)
+importFrom(utils,read.csv)
+importFrom(utils,select.list)
+importFrom(utils,setTxtProgressBar)
+importFrom(utils,stack)
+importFrom(utils,txtProgressBar)
+importFrom(utils,write.table)
+importFrom(withr,defer)

Modified: pkg/stacomir/R/stacomiR-package.R
===================================================================
--- pkg/stacomir/R/stacomiR-package.R	2021-11-12 07:39:10 UTC (rev 598)
+++ pkg/stacomir/R/stacomiR-package.R	2021-11-12 07:55:26 UTC (rev 599)
@@ -1,60 +1,28 @@
-#' @import stringr
-#' @import RColorBrewer
+
+
 #' @import ggplot2
 #' @import RPostgreSQL
 #' @import methods
+#' @import RColorBrewer
 #' @import stacomirtools
+#' @import stringr
 #' @import xtable
-#' @importFrom magrittr %>%
-#' @importFrom dplyr select
-#' @importFrom dplyr group_by
-#' @importFrom dplyr summarize
-#' @importFrom dplyr rename
-#' @importFrom dplyr do
-#' @importFrom dplyr filter
-#' @importFrom dplyr mutate 
-#' @importFrom dplyr min_rank 
-#' @importFrom dplyr first
-#' @importFrom dplyr ungroup
-#' @importFrom dplyr desc
-#' @importFrom intervals Intervals
-#' @importFrom intervals closed<-
-#' @importFrom intervals interval_overlap
-#' @importFrom grid viewport
-#' @importFrom grid pushViewport
-#' @importFrom grid grid.newpage
-#' @importFrom grid grid.layout
-#' @importFrom utils read.csv
-#' @importFrom utils stack
-#' @importFrom utils globalVariables
-#' @importFrom utils select.list write.table data
-#' @importFrom utils txtProgressBar
-#' @importFrom stats ftable
-#' @importFrom stats xtabs
-#' @importFrom stats AIC
-#' @importFrom grDevices dev.new
-#' @importFrom grDevices gray.colors
-#' @importFrom stats sd
-#' @importFrom stats complete.cases
-#' @importFrom reshape2 dcast
-#' @importFrom reshape2 melt
-#' @importFrom lattice barchart trellis.par.get trellis.par.set simpleKey
-#' @importFrom grid gpar
+#' @importFrom dplyr select group_by summarize rename do filter mutate min_rank first ungroup desc
 #' @importFrom graphics layout matplot mtext points polygon segments par axis text legend rect axis.Date abline arrows hist
-#' @importFrom stats as.formula coef na.fail nls pbeta predict sd coefficients
-#' @importFrom grDevices gray rainbow adjustcolor
-#' @importFrom lubridate round_date
-#' @importFrom lubridate floor_date
-#' @importFrom lubridate %m+%
-#' @importFrom lubridate isoweek
-#' @importFrom lubridate years
+#' @importFrom grDevices gray rainbow adjustcolor gray.colors dev.new
+#' @importFrom grid gpar grid.newpage grid.layout pushViewport viewport
 #' @importFrom Hmisc wtd.quantile 
-#' @importFrom Hmisc capitalize 
+#' @importFrom Hmisc capitalize
+#' @importFrom intervals interval_overlap closed<- Intervals 
+#' @importFrom lattice barchart trellis.par.get trellis.par.set simpleKey
+#' @importFrom lubridate round_date floor_date %m+% isoweek years
+#' @importFrom magrittr %>%
 #' @importFrom mgcv gam
-#' @importFrom pool poolClose
-#' @importFrom pool dbExecute
-#' @importFrom pool dbWriteTable
-#' @importFrom pool dbGetQuery
+#' @importFrom pool poolClose dbExecute dbWriteTable dbGetQuery
+#' @importFrom reshape2 dcast melt
+#' @importFrom stats as.formula coef na.fail nls pbeta predict sd coefficients complete.cases sd AIC xtabs ftable
+#' @importFrom utils read.csv stack globalVariables select.list write.table data txtProgressBar
+#' @importFrom withr defer
 NULL
 
 # Variables used in aes arguments generate a note as being assigned to



More information about the Stacomir-commits mailing list