Après mon merge héroïque
authoremilie <emilie@devijver.org>
Thu, 23 Mar 2017 13:45:48 +0000 (14:45 +0100)
committeremilie <emilie@devijver.org>
Thu, 23 Mar 2017 13:45:48 +0000 (14:45 +0100)
reports/essaiPlot.R
test/Makefile
test/README
test/clean.sh

index bf2b61e..b000987 100644 (file)
@@ -57,4 +57,4 @@ for (r in 1:K){
   meanPerClass[,r] = apply(XY_class[[r]], 2, mean)
 }
 
-matplot(meanPerClass, type='l')
\ No newline at end of file
+matplot(meanPerClass, type='l')
index 0fa1189..502d5b5 100644 (file)
@@ -33,7 +33,7 @@ test.selectionTotale: $(LIB) test.selectionTotale.o test_utils.o
        $(CC) -fPIC -o $@ -c $< $(CFLAGS) $(INCLUDES)
 
 clean:
-       rm -f *.o ../pkg/src/sources/*.o ../pkg/src/adapters/*.o
+       rm -f *.o ../pkg/src/sources/*.o
 
 cclean: clean
        rm -f *.so $(TESTS)
index 287c4b5..29c4b9d 100644 (file)
@@ -15,18 +15,16 @@ set -e
       # I'm happy with default values - feel free to give args
       generateRunSaveTest_EMGLLF() "\
       | R --slave
-               cd ..
+    cd ..
 
 #2) Compile test C code
-               # Next line might be required sometimes, to destroy all .o and .so
-    make cclean
-               # Next line compile the test into an executable named "test.EMGLLF"
+    # Next line compile the test into an executable named "test.EMGLLF"
     make test.EMGLLF
 
 #3) Run it!
     # Fingers crossed, hoping everything is alright
     ./test.EMGLLF
-               # Ask valgrind (generally better idea ;) )
-               valgrind ./test.EMGLLF
+    # Ask valgrind (generally better idea ;) )
+    #valgrind ./test.EMGLLF
 
 #For EMGrank: same procedure, just change EMGLLF to EMGrank everwhere.
index ad12cce..8c4f545 100755 (executable)
@@ -1,6 +1,11 @@
 #!/bin/sh
 
+# Erase roxygen2 generated files
+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
-rm -f ../pkg/src/sources/*.o
+
 make cclean