1 parent b95d3fe commit aa381b4Copy full SHA for aa381b4
2 files changed
BayesianTools/src/Makevars.win
@@ -0,0 +1,7 @@
1
+# Force RTools mingw64 compiler
2
+CC = $(BINPREF)gcc
3
+CXX = $(BINPREF)g++
4
+CXX11 = $(BINPREF)g++ -std=c++11
5
+CXX14 = $(BINPREF)g++ -std=c++14
6
+CXX17 = $(BINPREF)g++ -std=c++17
7
+CXXFLAGS = -O2 -Wall
BayesianTools/src/vsem.cpp
@@ -1,11 +1,8 @@
+
+// [[Rcpp::depends(Rcpp)]]
#include <Rcpp.h>
using namespace Rcpp;
-// Below is a simple example of exporting a C++ function to R. You can
-// source this function into an R session using the Rcpp::sourceCpp
-// function (or via the Source button on the editor toolbar)
-
8
-// For more on using Rcpp click the Help button on the editor toolbar
9
10
//' C version of the VSEM model
11
//' @param par parameter vector
0 commit comments