From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 8 Jan 2021 15:48:52 +0000 (+0100)
Subject: Update tests
X-Git-Url: https://git.auder.net/game/current/%7B%7B%20asset%28%27mixstore/DESCRIPTION?a=commitdiff_plain;h=01b234a0239845b349bf08bd7fc7d9c74ab83671;p=valse.git

Update tests
---

diff --git a/pkg/.gitignore b/pkg/.gitignore
index ddc8772..37482f0 100644
--- a/pkg/.gitignore
+++ b/pkg/.gitignore
@@ -1,4 +1,3 @@
 #ignore roxygen2 generated files
-/NAMESPACE
 /man/*.Rd
 !/man/*-package.Rd
diff --git a/pkg/NAMESPACE b/pkg/NAMESPACE
new file mode 100644
index 0000000..a77f192
--- /dev/null
+++ b/pkg/NAMESPACE
@@ -0,0 +1 @@
+exportPattern(".")
diff --git a/test/run.sh b/test/run.sh
index 9dac69c..d42acfc 100755
--- a/test/run.sh
+++ b/test/run.sh
@@ -9,7 +9,6 @@ algo=$1 #EMGLLF or EMGrank,
 if [ "$2" == 'c' ]; then
 	#0.1) Clean package + C testing code
 	find ../pkg/man/ -type f ! -name 'valse-package.Rd' -delete
-	rm -f ../pkg/NAMESPACE
 	# Erase object and library files
 	rm -f ../pkg/src/*.so
 	rm -f ../pkg/src/adapters/*.o