File tree 5 files changed +16
-47
lines changed
5 files changed +16
-47
lines changed Original file line number Diff line number Diff line change 2
2
.Rhistory
3
3
.RData
4
4
.Ruserdata
5
+ * .so
6
+ * .o
7
+ src /* .o
8
+ src /* .so
9
+ src /* .dll
10
+ inst /doc
11
+ .DS_Store
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
CXX_STD = CXX14
2
- CXX=clang++
2
+
3
3
PKG_CPPFLAGS = -I../inst/include/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
#define RAPIDJSON_ASSERT (x ) ((void )0 )
8
8
#endif // RAPIDJSON_ASSERT
9
9
10
+ /*
11
+ * git clone https://github.com/tencent/rapidjson --branch v1.1.0 --depth 1
12
+ */
13
+
14
+
15
+ #include " rapidjson/document.h"
16
+ /*
10
17
#include "rapidjson/error/en.h"
11
18
#include "rapidjson/filereadstream.h"
12
19
#include "rapidjson/schema.h"
13
20
#include "rapidjson/stringbuffer.h"
14
21
#include "rapidjson/prettywriter.h"
15
22
16
- #include " rapidjson/document.h"
17
23
#include "rapidjson/allocators.h"
18
24
using namespace rapidjson;
19
-
25
+ */
20
26
21
27
#include < Rcpp.h>
22
28
using namespace Rcpp ;
23
29
24
30
25
- // [[Rcpp::export]]
26
- void testRapidjson (const char * json) {
27
-
28
- Document document;
29
- document.Parse (json);
30
-
31
- std::string s = document[" hello" ].GetString ();
32
- Rcpp::Rcout << s << std::endl;
33
-
34
- }
You can’t perform that action at this time.
0 commit comments