add some TODO and skeleton for test/test_EMGrank.R
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 3 Nov 2017 09:59:17 +0000 (10:59 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 3 Nov 2017 09:59:17 +0000 (10:59 +0100)
TODO
test/test_EMGrank.R [new file with mode: 0644]

diff --git a/TODO b/TODO
index 4feab94..558e090 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1 +1,7 @@
 Apply git-fat patch
+
+Continue debug: (message "cannot allocate vector 40gb" ?!
+  X = matrix(runif(n*p, -10, 10), nrow=n)
+  Y = matrix(runif(n*m, -5, 15), nrow=n)
+  V1 = valse::valse(X, Y, fast=FALSE) #OK
+  V2 = valse::valse(X, Y, fast=FALSE) #not OK... almost
diff --git a/test/test_EMGrank.R b/test/test_EMGrank.R
new file mode 100644 (file)
index 0000000..9aec8bb
--- /dev/null
@@ -0,0 +1,16 @@
+library(valse)
+testFolder = "data/"
+
+# NOTE: R typing is really terrible. as.double as.matrix ...and so on; don't remove.
+
+#get inputs
+#TODO
+
+#get outputs
+#TODO
+
+res = valse::EMGrank(...)
+
+#compare outputs
+nd=7 #number of digits
+#TODO