importFrom("grDevices", "col2rgb", "graphics.off", "pdf", "rgb")
importFrom("parallel", "detectCores", "stopCluster", "makeCluster")
importFrom("graphics", "hist", "par", "plot")
importFrom("stats", "as.formula", "density", "dnorm", "lm", "median", "predict",
             "model.matrix", "na.omit", "pt", "qt", "quantile", "sd", "cov",
             "var", "vcov","coef", "relevel", "rnorm","pnorm","contr.sum",
			 "glm.control","binomial", "glm", "poisson", "weighted.mean", 
			 "fitted", "hatvalues", "loess", "plogis", "poly",
             "qnorm", "residuals")
importFrom("ggplot2","geom_errorbar", "geom_hline", "labs" ,"geom_line", "geom_point", "geom_rect","geom_ribbon", "geom_smooth", 
			"geom_vline", "ggplot", "ggtitle", "theme", "aes","element_text", "annotate", "xlab", "ylab", "aes_string", 
			"coord_cartesian", "facet_wrap", "facet_grid","theme_bw","element_blank","ggsave","layer_scales","ylim","xlim",
			"scale_color_manual","scale_fill_manual","ggplot_build","ggplot_gtable","geom_histogram","geom_text","last_plot")
importFrom("future","makeClusterPSOCK")
importFrom("cli","cli_progress_bar","cli_progress_update","cli_progress_done")
importFrom("mgcv","vis.gam","gam","nb")
importFrom("pcse","pcse")
importFrom("sandwich","sandwich","estfun","bread","vcovHC")
importFrom("Lmoments","Lmoments")
importFrom("foreach","foreach","%dopar%")
importFrom("gridExtra","arrangeGrob")
importFrom("ggplotify","as.ggplot")
importFrom("grid","textGrob","gpar")
importFrom("RColorBrewer","brewer.pal")
importFrom("utils", "capture.output","combn")
importFrom("gtable", "gtable_filter","gtable_add_grob","gtable_add_cols")
importFrom("grDevices","col2rgb")
importFrom("mvtnorm","rmvnorm")
importFrom("pROC","roc")
importFrom("ModelMetrics","logLoss")
importFrom("lmtest","waldtest","lrtest")
importFrom("lfe","felm")
importFrom("MASS","glm.nb","mvrnorm")
importFrom("AER","ivreg")
importFrom("fixest","feols", "fixef", "degrees_freedom")
importFrom("grf","causal_forest")
importFrom("glmnet","cv.glmnet")
importFrom("splines","bs")
import(mlr3learners)

export(interflex)
export(inter.test)
S3method("plot", "interflex")
S3method("predict", "interflex")
S3method("print", "interflex")
