# importFrom("homtest", "Lmoments", "rand.kappa", "par.kappa", "F.kappa") ### make independent of homtest as homtest produces error (as of 25.3.2022)
importFrom("stats", "rnorm", "runif", "fft", 
           "aggregate", "density", "ks.test", "lm", 
           "na.omit", "predict")
importFrom("graphics", "hist", "abline", "lines")
importFrom("goftest", "ad.test")
importFrom('splus2R', 'ifelse1')
importFrom("methods", "as")
importFrom("stats", "deltat", "time")
importFrom('wavScalogram', 'cwt_wst')
importFrom('mev','fit.extgp','rextgp')
importFrom('lmomco','lmoms','lmom2par','rlmomco')
importFrom("stats", "optim")
# importFrom("ismev","gev.fit")
# importFrom("evd","rgev","pgev")
# importFrom("GB2","mlfit.gb2","rgb2","pgb2")

export("prsim")
export("prsim.wave")
export("prsim.weather")

useDynLib(PRSim, .registration = TRUE)
