importFrom("stats", "rbinom", "rmultinom", "rnorm", "runif", "uniroot")

useDynLib(aster, .registration = TRUE, .fixes = "C_")

useDynLib(aster2, .registration = TRUE, .fixes = "C_")

export(azimuth, angSep, b2j, beamDiskOverlap, dmjd2ut, dms2rad, elev, gmst1,
hms2rad, j2b, jd2ymd, planetFlux, rad2dms, rad2hms,

importFrom("grDevices", "boxplot.stats", "colors", "dev.new", "dev.off", "gray", "jpeg", "pdf", "png", "rainbow", "xy.coords")
importFrom("graphics", "abline", "axis", "boxplot", "grid", "hist", "identify", "image", "layout", "lines", "locator", "mtext", "par", "plot", "points", "polygon", "rect", "segments", "text")
importFrom("stats", "approx", "approxfun", "ar", "arima.sim", "as.ts", "cor", "density", "dnorm", "fft", "ksmooth", "lm", "loess", "median", "nls", "optim", "pchisq", "pf", "pnorm", "predict", "qchisq", "qqline", "qqnorm", "qt", "rnorm", "runif", "runmed", "sd", "spec.ar", "var")
importFrom("utils", "download.file", "head", "read.table", "write.table")

importFrom("stats", "approx", "approxfun", "ar", "arima.sim", "as.ts", "cor", "density", "dnorm", "fft", "ksmooth", "lm", "loess", "median", "nls", "optim", "pchisq", "pf", "pnorm", "predict", "na.omit", "qchisq", "qqline", "qqnorm", "qt", "rnorm", "runif", "runmed", "sd", "spec.ar", "var")

importFrom("grDevices", "boxplot.stats", "colors", "dev.new", "dev.off", "gray", "tiff", "jpeg", "pdf", "png", "bmp", "rainbow", "xy.coords")

# Imports
importFrom("grDevices", "dev.new", "xy.coords", "gray")
importFrom("graphics", "abline", "box", "grid", "layout", "legend", "lines",
"par", "plot", "title", "polygon", "axTicks", "axis", "mtext",
"rect")
importFrom("stats", "as.ts", "ccf", "df.kernel", "frequency", "acf",  "time",
"is.tskernel", "kernapply", "kernel", "mvfft", "na.fail",
"na.omit", "na.pass", "nextn", "plot.ts", "qf", "ppoints",
"spec.taper", "ts", "ts.intersect", "ts.plot", "qnorm", "coef",
"dnorm", "quantile", "optim")
# Export all names
exportPattern("^[^\\.]")

# Imports
importFrom("grDevices", "dev.new", "xy.coords", "gray")
importFrom("graphics", "abline", "box", "grid", "layout", "legend", "lines",
"par", "plot", "title", "polygon", "axTicks", "axis", "mtext",
"rect")
importFrom("stats", "as.ts", "ccf", "df.kernel", "frequency", "acf",  "time",
"is.tskernel", "kernapply", "kernel", "mvfft", "na.fail", "lag",
"lm", "na.omit", "na.pass", "nextn", "plot.ts", "qf", "ppoints",
"resid", "rnorm", "spec.taper", "ts", "ts.intersect", "ts.plot",
"qnorm", "coef", "dnorm", "quantile", "optim", "ar", "spec.ar",
"filter", "diffinv", "tsp", "var")
# Export all names
exportPattern("^[^\\.]")