# Register and export dynamic library with entry point
useDynLib(trend, F_pettitt = pettitt)

# Export specific functions
export(csmk.test, mk.test,
       partial.cor.trend.test, partial.mk.test,
       pettitt.test, smk.test, sea.sens.slope, sens.slope,
       print.trend.test, summary.trend.test, wm.test,
       cs.test)

importFrom("stats", "cor", "cycle", "frequency", "is.ts", "median",
     "na.fail", "pnorm", "pt", "qnorm", "ts", "tsp", "na.omit")

# S3 methods
S3method(print, trend.test)
S3method(summary, trend.test)
