Fix Mor thesis link + compiling for Windows
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 10 Jan 2020 10:30:22 +0000 (11:30 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 10 Jan 2020 10:30:22 +0000 (11:30 +0100)
pkg/DESCRIPTION
pkg/src/Makevars

index 3216743..bd92ed5 100644 (file)
@@ -5,7 +5,7 @@ Description: Mixture of logistic regressions parameters (H)estimation with
     of binary outputs, and return parameters according to the GLMs mixture model
     (General Linear Model). For more details see chapter 3 in the PhD thesis of
                Mor-Absa Loum: <http://www.theses.fr/s156435>, available here
     of binary outputs, and return parameters according to the GLMs mixture model
     (General Linear Model). For more details see chapter 3 in the PhD thesis of
                Mor-Absa Loum: <http://www.theses.fr/s156435>, available here
-               <https://www.math.u-psud.fr/~loum/IMG/pdf/these.compressed-2.pdf>.
+               <https://tel.archives-ouvertes.fr/tel-01877796/document>.
 Version: 1.0-0
 Author: Benjamin Auder <Benjamin.Auder@u-psud.fr> [aut,cre],
     Mor-Absa Loum <Mor-Absa.Loum@u-psud.fr> [aut]
 Version: 1.0-0
 Author: Benjamin Auder <Benjamin.Auder@u-psud.fr> [aut,cre],
     Mor-Absa Loum <Mor-Absa.Loum@u-psud.fr> [aut]
index 79f50e9..6a52f60 100644 (file)
@@ -1,9 +1,4 @@
 # Override R weird defaults:
 # https://stackoverflow.com/questions/23414448/r-makevars-file-to-overwrite-r-cmds-default-g-options
 # Override R weird defaults:
 # https://stackoverflow.com/questions/23414448/r-makevars-file-to-overwrite-r-cmds-default-g-options
-
 %.o: %.c
 %.o: %.c
-       gcc -I/usr/include/R -I/usr/local/include/R -DNDEBUG -fpic -O2 -c $< -o $@
-
-# On u-psud cluster:
-#%.o: %.c
-#      gcc -I"/usr/local/R/3.6.1/lib64/R/include" -I/usr/local/include -DNDEBUG -fpic -O2 -c $< -o $@
+       $(CC) -std=c11 -I"$(R_INCLUDE_DIR)" -DNDEBUG -fPIC -O2 -c $< -o $@