"SetArrow", "Enquote", "EnquoteS", "EvalEnquote", "InspectPnt", "Unclass","GetExcelRange","Class","FlushToSource")
importFrom("DescTools", "Desc", "SelectVarDlg", "FileOpenCmd", "Str", "Abstract", "Some", "Arrow", "PlotPch", "ModelDlg","StrTrim", "Format")

"FileSaveAs" , "XLView","IntView", "FileOpen", "FlipBackSlash", "Example", "PlotPar", "PlotPch", "PlotMar",
"SetArrow", "Enquote", "EnquoteS", "EvalEnquote", "InspectPnt", "Unclass","GetExcelRange","FlushToSource")
"StrTrim", "Format", "Label", "StrExtract", "StrTrunc", "IsNumeric", "SplitPath"

"FileSaveAs" , "XLView","IntView", "FileOpen", "FileBrowserOpen", "FlipBackSlash", "FlipSlash","Example", "PlotPar", "PlotPch", "PlotMar",

"SetArrow", "Enquote", "EnquoteS", "EvalEnquote", "InspectPnt", "Unclass","GetExcelRange","FlushToSource", "RemoveDuplicates",

"SortAsc", "SortDesc", "Shuffle", "CreateBookmark", "Str1")

"SortAsc", "SortDesc", "Shuffle", "CreateBookmark", "DeleteBookmark","SelectBookmark","Str1")

useDynLib(DetSel, .registration = TRUE, .fixes = "C_")
importFrom("grDevices", "cm.colors", "dev.new", "dev.off", "grey")
importFrom("graphics", ".filled.contour", "Axis", "box", "par",
"plot.new", "plot.window", "points", "text", "title")

importFrom(graphics, axis, legend, lines, par, plot, polygon)

importFrom("stats", "dnbinom", "p.adjust", "pnorm", "uniroot")

importFrom("stats", "dnbinom", "p.adjust", "pnorm", "uniroot", "median")

importFrom("stats", "as.formula", "cov", "var", "sd", "model.matrix")

#export("VUS", "Normal.VUS", "NonParametric.VUS", "NonParametric.VUS.var",  "SampleSize.VUS","VUS.CutPoint","Youden3Grp","Youden3Grp.PointEst","Youden3Grp.Variance.Normal","Youden3Grp.Variance.Bootstrap","Youden3Grp.Normal","SampleSize.Youden3Grp","Sp.Sm.Se","Youden2Grp.OptimalCutoff.Gamma.truePara","Youden3Grp.OptimalCutoff.Gamma.truePara","Youden3Grp.OptimalCutoff.Normal.trueMeanSD", "BW.ref","Bootstrap.Youden.Cutoff.1run","CI.normal","bootSample","empirical.cdf","PartialDeriv.optimalCutoff","PartialDeriv.Youden","var.mu","var.sigma","Var.t.minus","Var.Youden","FisherZ","FisherZ.Var","KernelSmoothing.cdf","Youden3Grp.BoxCox.lambda","negloglik.boxcox.3Grp","Youden3Grp.boxcox.fit","print.DiagTest3Grp","plot.DiagTest3Grp")
export("VUS", "Normal.VUS", "NonParametric.VUS", "NonParametric.VUS.var",  "SampleSize.VUS","VUS.CutPoint","Youden3Grp","Youden3Grp.PointEst","Youden3Grp.Variance.Normal","Youden3Grp.Variance.Bootstrap","Youden3Grp.Normal","SampleSize.Youden3Grp","Sp.Sm.Se","Youden3Grp.OptimalCutoff.Normal.trueMeanSD", "BW.ref","Bootstrap.Youden.Cutoff.1run","CI.normal","bootSample","empirical.cdf","PartialDeriv.optimalCutoff","PartialDeriv.Youden","var.mu","var.sigma","Var.t.minus","Var.Youden","FisherZ","FisherZ.Var","KernelSmoothing.cdf","Youden3Grp.BoxCox.lambda","negloglik.boxcox.3Grp","Youden3Grp.boxcox.fit","print.DiagTest3Grp","plot.DiagTest3Grp","DiagTest3Grp.Test","Pairwise.DiagTest3Grp.Test")