summaryrefslogtreecommitdiff
path: root/NAMESPACE
diff options
context:
space:
mode:
authorLuca Coraggio <luca.coraggio@unina.it>2020-07-04 09:50:03 +0000
committercran-robot <csardi.gabor+cran@gmail.com>2020-07-04 09:50:03 +0000
commit511e3ca9e5235e018f772693907d9ec10002b02a (patch)
treec7cb699babfa439e6bfbe47007e3916867517f76 /NAMESPACE
version 1.0
Diffstat (limited to 'NAMESPACE')
-rw-r--r--NAMESPACE25
1 files changed, 25 insertions, 0 deletions
diff --git a/NAMESPACE b/NAMESPACE
new file mode 100644
index 0000000..ffd8478
--- /dev/null
+++ b/NAMESPACE
@@ -0,0 +1,25 @@
+## import all functions from the following pkgs
+import("stats", "graphics", "Matrix")
+
+## selective imports from pkgs
+importFrom("methods", "as")
+importFrom("foreach", "foreach", "%dopar%")
+importFrom("parallel","detectCores")
+importFrom("doParallel", "registerDoParallel", "stopImplicitCluster")
+importFrom("utils", "citHeader", "citEntry")
+
+## export objects in /src
+useDynLib(RSC, .registration = TRUE, .fixes = "F_")
+
+## export objects in /R
+export(rmad)
+export(rsc_cv)
+export(rsc)
+
+
+## export S3 methods
+S3method(plot, rsc_cv)
+S3method(print, rsc_cv)
+
+## ## exports every object that doesn't start with a dot
+## exportPattern("^[^\\.]")