import(sp)
import(spdep)
import(methods)
import(meteoland)
import(ggplot2)
importFrom("stats", "aggregate","filter","uniroot", "median",
           "cor","quantile")
importFrom("grDevices", "rainbow")
importFrom("graphics", "axis", "abline", "barplot", "legend", "lines", "matplot","mtext",
           "matlines", "par", "polygon","axis.Date")
importFrom("utils", "setTxtProgressBar", "txtProgressBar", "head", "tail")
importFrom("GSIF", "REST.SoilGrids","over")
useDynLib(medfate, .registration = TRUE)
exportPattern("^[[:alpha:]]+")


importFrom(Rcpp, evalCpp)
S3method(plot,pwb)
S3method(plot,pwb_day)
S3method(plot,spwb)
S3method(plot,spwb_day)
S3method(plot,growth)

S3method(summary, pwb)
S3method(summary, spwb)
S3method(summary, growth)
S3method(summary, forest)


S3method(print, summary.forest)
S3method(print, soil)