importFrom(stats, bw.nrd, cov, dnorm, lm, quantile, rexp, sd, var, wilcox.test, pnorm, approx, qnorm, rnorm, vcov, nls, nls.control, density, glm, predict, binomial)
importFrom(survival, survfit, Surv, coxph, basehaz)
importFrom(Matrix, bdiag)
exportPattern("^[[:alpha:]]+")

importFrom(stats, bw.nrd, cov, dnorm, lm, quantile, rexp, sd, var, wilcox.test, pnorm, approx, qnorm, rnorm, vcov, nls, nls.control, density, glm, predict, binomial)
importFrom(survival, survfit, Surv, coxph, basehaz)
importFrom(Matrix, bdiag)
exportPattern("^[[:alpha:]]+")

# Generated by roxygen2 (4.0.1): do not edit by hand
export(which_ttf2pt1)

# Generated by roxygen2 (4.0.1): do not edit by hand
export(which_ttf2pt1)

# Generated by roxygen2 (4.0.1): do not edit by hand
export(which_ttf2pt1)

importFrom("graphics", "hist", "lines", "plot", "points")
importFrom("stats", "as.ts", "cor", "rnorm", "runif", "var")

importFrom("graphics", "abline", "image", "lines", "par", "title")
importFrom("stats", "as.ts", "fft", "lag", "lsfit", "plot.ts",

### RweaveExtra: Sweave drivers with extra tricks up their sleeve

useDynLib(Rwofost)
import(methods, Rcpp, meteor)
exportMethods("crop<-", "soil<-", "control<-", "weather<-", "run")
export(wofost, wofost_model, wofost_crop, wofost_soil, wofost_control)

useDynLib(Rwofost)
import(methods, Rcpp, meteor)
exportMethods("crop<-", "soil<-", "control<-", "weather<-", "force<-", "run")
export(wofost, wofost_model, wofost_crop, wofost_soil, wofost_control)

useDynLib(Rwofost)
import(methods, Rcpp, meteor)
exportMethods("crop<-", "soil<-", "control<-", "weather<-", "force<-", "run")
export(wofost, wofost_model, wofost_crop, wofost_soil, wofost_control)

useDynLib(Rwofost, .registration=TRUE)
import(methods, Rcpp, meteor, raster, terra)
exportMethods("crop<-", "soil<-", "control<-", "weather<-", "force<-", "run")
export(wofost, wofost_model, wofost_crop, wofost_soil, wofost_control)

importFrom(stats, cov2cor, rchisq, rgamma, rmultinom,rnorm, rpois, runif)

importFrom("tools", "md5sum")   # to ensure equality
# export only these 3 RxODE functions and print methods
# the following is very experimental, probably will be