* using log directory 'd:/Rcompile/CRANpkg/local/3.2/geojsonR.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'geojsonR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'geojsonR' version '1.0.1' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'geojsonR' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.2/geojsonR.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'geojsonR' ... ** package 'geojsonR' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpOUQ6P3/R.INSTALL3c54336c21d9/geojsonR/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I../inst/include/ -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include" -I"d:/RCompile/r-compiling/local/local323/include" -DNDEBUG -O2 -Wall -mtune=core2 -c FROM_geojson.cpp -o FROM_geojson.o In file included from FROM_geojson.cpp:33:0: json11.h:79:12: error: variable 'json11::Json json11::final' has initializer but incomplete type json11.h:80:1: error: expected primary-expression before 'public' json11.h:80:1: error: expected '}' before 'public' json11.h:80:1: error: expected ',' or ';' before 'public' json11.h:91:10: error: expected unqualified-id before ')' token json11.h:92:26: error: expected initializer before 'noexcept' json11.h:93:10: error: expected unqualified-id before 'double' json11.h:93:10: error: expected ')' before 'double' json11.h:94:10: error: expected unqualified-id before 'int' json11.h:94:10: error: expected ')' before 'int' json11.h:95:10: error: expected unqualified-id before 'bool' json11.h:95:10: error: expected ')' before 'bool' json11.h:96:10: error: expected unqualified-id before 'const' json11.h:96:10: error: expected ')' before 'const' json11.h:97:22: error: expected ')' before '&&' token json11.h:98:10: error: expected unqualified-id before 'const' json11.h:98:10: error: expected ')' before 'const' json11.h:99:10: error: expected unqualified-id before 'const' json11.h:99:10: error: expected ')' before 'const' json11.h:100:16: error: expected ')' before '&&' token json11.h:101:10: error: expected unqualified-id before 'const' json11.h:101:10: error: expected ')' before 'const' json11.h:102:17: error: expected ')' before '&&' token json11.h:106:10: error: expected unqualified-id before 'const' json11.h:106:10: error: expected ')' before 'const' json11.h:113:10: error: expected unqualified-id before 'const' json11.h:113:10: error: expected ')' before 'const' json11.h:119:10: error: expected unqualified-id before 'const' json11.h:119:10: error: expected ')' before 'const' json11.h:123:10: error: expected unqualified-id before 'void' json11.h:123:10: error: expected ')' before 'void' json11.h:126:5: error: 'Type' does not name a type json11.h:128:22: error: non-member function 'bool json11::is_null()' cannot have cv-qualifier json11.h: In function 'bool json11::is_null()': json11.h:128:42: error: 'type' was not declared in this scope json11.h:128:47: error: 'NUL' was not declared in this scope json11.h: At global scope: json11.h:129:22: error: non-member function 'bool json11::is_number()' cannot have cv-qualifier json11.h: In function 'bool json11::is_number()': json11.h:129:42: error: 'type' was not declared in this scope json11.h:129:47: error: 'NUMBER' was not declared in this scope json11.h: At global scope: json11.h:130:22: error: non-member function 'bool json11::is_bool()' cannot have cv-qualifier json11.h: In function 'bool json11::is_bool()': json11.h:130:42: error: 'type' was not declared in this scope json11.h:130:47: error: 'BOOL' was not declared in this scope json11.h: At global scope: json11.h:131:22: error: non-member function 'bool json11::is_string()' cannot have cv-qualifier json11.h: In function 'bool json11::is_string()': json11.h:131:42: error: 'type' was not declared in this scope json11.h:131:47: error: 'STRING' was not declared in this scope json11.h: At global scope: json11.h:132:22: error: non-member function 'bool json11::is_array()' cannot have cv-qualifier json11.h: In function 'bool json11::is_array()': json11.h:132:42: error: 'type' was not declared in this scope json11.h:132:47: error: 'ARRAY' was not declared in this scope json11.h: At global scope: json11.h:133:22: error: non-member function 'bool json11::is_object()' cannot have cv-qualifier json11.h: In function 'bool json11::is_object()': json11.h:133:42: error: 'type' was not declared in this scope json11.h: At global scope: json11.h:138:27: error: non-member function 'double json11::number_value()' cannot have cv-qualifier json11.h:139:21: error: non-member function 'int json11::int_value()' cannot have cv-qualifier json11.h:142:23: error: non-member function 'bool json11::bool_value()' cannot have cv-qualifier json11.h:144:39: error: non-member function 'const string& json11::string_value()' cannot have cv-qualifier json11.h:146:32: error: non-member function 'const array& json11::array_items()' cannot have cv-qualifier json11.h:148:34: error: non-member function 'const object& json11::object_items()' cannot have cv-qualifier json11.h:151:39: error: non-member function 'const json11::Json& json11::operator[](size_t)' cannot have cv-qualifier json11.h:151:39: error: 'const json11::Json& json11::operator[](size_t)' must be a nonstatic member function json11.h:153:53: error: non-member function 'const json11::Json& json11::operator[](const string&)' cannot have cv-qualifier json11.h:153:53: error: 'const json11::Json& json11::operator[](const string&)' must be a nonstatic member function json11.h:156:33: error: non-member function 'void json11::dump(std::string&)' cannot have cv-qualifier json11.h:157:24: error: non-member function 'std::string json11::dump()' cannot have cv-qualifier json11.h: In function 'json11::Json json11::parse(const char*, std::string&, json11::JsonParse)': json11.h:169:63: error: return type 'struct json11::Json' is incomplete json11.h:171:56: error: invalid use of incomplete type 'struct json11::Json' json11.h:79:7: error: forward declaration of 'struct json11::Json' json11.h: At global scope: json11.h:192:39: error: non-member function 'bool json11::operator==(const json11::Json&)' cannot have cv-qualifier json11.h:192:39: error: 'bool json11::operator==(const json11::Json&)' must take exactly two arguments json11.h:193:39: error: non-member function 'bool json11::operator<(const json11::Json&)' cannot have cv-qualifier json11.h:193:39: error: 'bool json11::operator<(const json11::Json&)' must take exactly two arguments json11.h:194:39: error: non-member function 'bool json11::operator!=(const json11::Json&)' cannot have cv-qualifier json11.h:194:39: error: 'bool json11::operator!=(const json11::Json&)' must take exactly two arguments json11.h:195:39: error: non-member function 'bool json11::operator<=(const json11::Json&)' cannot have cv-qualifier json11.h:195:39: error: 'bool json11::operator<=(const json11::Json&)' must take exactly two arguments json11.h:196:39: error: non-member function 'bool json11::operator>(const json11::Json&)' cannot have cv-qualifier json11.h:196:39: error: 'bool json11::operator>(const json11::Json&)' must take exactly two arguments json11.h:197:39: error: non-member function 'bool json11::operator>=(const json11::Json&)' cannot have cv-qualifier json11.h:197:39: error: 'bool json11::operator>=(const json11::Json&)' must take exactly two arguments json11.h:204:58: error: 'Type' was not declared in this scope json11.h:204:58: error: template argument 2 is invalid json11.h:204:62: error: template argument 1 is invalid json11.h:204:70: error: invalid type in declaration before ';' token json11.h:205:60: error: non-member function 'bool json11::has_shape(const shape&, std::string&)' cannot have cv-qualifier json11.h:207:1: error: expected unqualified-id before 'private' json11.h:217:13: error: 'Json' does not name a type json11.h:225:19: error: 'Json' does not name a type json11.h:226:19: error: 'Json' does not name a type json11.h:227:19: error: 'Json' does not name a type json11.h:228:19: error: 'Json' does not name a type json11.h:232:1: error: expected declaration before '}' token In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/vector:65:0, from d:/RCompile/CRANpkg/lib/3.2/Rcpp/include/RcppCommon.h:59, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadillo.h:31, from FROM_geojson.cpp:18: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h: In destructor 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = json11::Json, _Alloc = std::allocator]': d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h:351:33: instantiated from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = json11::Json, _Alloc = std::allocator]' json11.h:189:62: instantiated from here d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h:142:9: error: invalid use of incomplete type 'struct json11::Json' json11.h:79:7: error: forward declaration of 'struct json11::Json' In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/vector:63:0, from d:/RCompile/CRANpkg/lib/3.2/Rcpp/include/RcppCommon.h:59, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadillo.h:31, from FROM_geojson.cpp:18: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_construct.h: In function 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = json11::Json*]': d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_construct.h:153:7: instantiated from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = json11::Json*, _Tp = json11::Json]' d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h:350:9: instantiated from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = json11::Json, _Alloc = std::allocator]' json11.h:189:62: instantiated from here d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_construct.h:127:7: error: incomplete type '_Value_type {aka json11::Json}' not allowed In file included from FROM_geojson.cpp:33:0: json11.h: In function 'bool json11::is_object()': json11.h:133:55: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_array()': json11.h:132:54: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_string()': json11.h:131:55: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_bool()': json11.h:130:53: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_number()': json11.h:129:55: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_null()': json11.h:128:52: warning: control reaches end of non-void function [-Wreturn-type] json11.h: At global scope: json11.h:164:17: warning: 'json11::Json json11::parse(const string&, std::string&, json11::JsonParse)' declared 'static' but never defined [-Wunused-function] json11.h:167:17: warning: 'void json11::parse(const char*, std::string&, json11::JsonParse)' defined but not used [-Wunused-function] json11.h:178:30: warning: 'std::vector json11::parse_multi(const string&, std::basic_string::size_type&, std::string&, json11::JsonParse)' declared 'static' but never defined [-Wunused-function] make[1]: *** [FROM_geojson.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpOUQ6P3/R.INSTALL3c54336c21d9/geojsonR/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="geojsonR.dll" OBJECTS="FROM_geojson.o RcppExports.o TO_geojson.o init.o json11.o"' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpOUQ6P3/R.INSTALL3c54336c21d9/geojsonR/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I../inst/include/ -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include" -I"d:/RCompile/r-compiling/local/local323/include" -DNDEBUG -O2 -Wall -mtune=core2 -c FROM_geojson.cpp -o FROM_geojson.o In file included from FROM_geojson.cpp:33:0: json11.h:79:12: error: variable 'json11::Json json11::final' has initializer but incomplete type json11.h:80:1: error: expected primary-expression before 'public' json11.h:80:1: error: expected '}' before 'public' json11.h:80:1: error: expected ',' or ';' before 'public' json11.h:91:10: error: expected unqualified-id before ')' token json11.h:92:26: error: expected initializer before 'noexcept' json11.h:93:10: error: expected unqualified-id before 'double' json11.h:93:10: error: expected ')' before 'double' json11.h:94:10: error: expected unqualified-id before 'int' json11.h:94:10: error: expected ')' before 'int' json11.h:95:10: error: expected unqualified-id before 'bool' json11.h:95:10: error: expected ')' before 'bool' json11.h:96:10: error: expected unqualified-id before 'const' json11.h:96:10: error: expected ')' before 'const' json11.h:97:22: error: expected ')' before '&&' token json11.h:98:10: error: expected unqualified-id before 'const' json11.h:98:10: error: expected ')' before 'const' json11.h:99:10: error: expected unqualified-id before 'const' json11.h:99:10: error: expected ')' before 'const' json11.h:100:16: error: expected ')' before '&&' token json11.h:101:10: error: expected unqualified-id before 'const' json11.h:101:10: error: expected ')' before 'const' json11.h:102:17: error: expected ')' before '&&' token json11.h:106:10: error: expected unqualified-id before 'const' json11.h:106:10: error: expected ')' before 'const' json11.h:113:10: error: expected unqualified-id before 'const' json11.h:113:10: error: expected ')' before 'const' json11.h:119:10: error: expected unqualified-id before 'const' json11.h:119:10: error: expected ')' before 'const' json11.h:123:10: error: expected unqualified-id before 'void' json11.h:123:10: error: expected ')' before 'void' json11.h:126:5: error: 'Type' does not name a type json11.h:128:22: error: non-member function 'bool json11::is_null()' cannot have cv-qualifier json11.h: In function 'bool json11::is_null()': json11.h:128:42: error: 'type' was not declared in this scope json11.h:128:47: error: 'NUL' was not declared in this scope json11.h: At global scope: json11.h:129:22: error: non-member function 'bool json11::is_number()' cannot have cv-qualifier json11.h: In function 'bool json11::is_number()': json11.h:129:42: error: 'type' was not declared in this scope json11.h:129:47: error: 'NUMBER' was not declared in this scope json11.h: At global scope: json11.h:130:22: error: non-member function 'bool json11::is_bool()' cannot have cv-qualifier json11.h: In function 'bool json11::is_bool()': json11.h:130:42: error: 'type' was not declared in this scope json11.h:130:47: error: 'BOOL' was not declared in this scope json11.h: At global scope: json11.h:131:22: error: non-member function 'bool json11::is_string()' cannot have cv-qualifier json11.h: In function 'bool json11::is_string()': json11.h:131:42: error: 'type' was not declared in this scope json11.h:131:47: error: 'STRING' was not declared in this scope json11.h: At global scope: json11.h:132:22: error: non-member function 'bool json11::is_array()' cannot have cv-qualifier json11.h: In function 'bool json11::is_array()': json11.h:132:42: error: 'type' was not declared in this scope json11.h:132:47: error: 'ARRAY' was not declared in this scope json11.h: At global scope: json11.h:133:22: error: non-member function 'bool json11::is_object()' cannot have cv-qualifier json11.h: In function 'bool json11::is_object()': json11.h:133:42: error: 'type' was not declared in this scope json11.h: At global scope: json11.h:138:27: error: non-member function 'double json11::number_value()' cannot have cv-qualifier json11.h:139:21: error: non-member function 'int json11::int_value()' cannot have cv-qualifier json11.h:142:23: error: non-member function 'bool json11::bool_value()' cannot have cv-qualifier json11.h:144:39: error: non-member function 'const string& json11::string_value()' cannot have cv-qualifier json11.h:146:32: error: non-member function 'const array& json11::array_items()' cannot have cv-qualifier json11.h:148:34: error: non-member function 'const object& json11::object_items()' cannot have cv-qualifier json11.h:151:39: error: non-member function 'const json11::Json& json11::operator[](size_t)' cannot have cv-qualifier json11.h:151:39: error: 'const json11::Json& json11::operator[](size_t)' must be a nonstatic member function json11.h:153:53: error: non-member function 'const json11::Json& json11::operator[](const string&)' cannot have cv-qualifier json11.h:153:53: error: 'const json11::Json& json11::operator[](const string&)' must be a nonstatic member function json11.h:156:33: error: non-member function 'void json11::dump(std::string&)' cannot have cv-qualifier json11.h:157:24: error: non-member function 'std::string json11::dump()' cannot have cv-qualifier json11.h: In function 'json11::Json json11::parse(const char*, std::string&, json11::JsonParse)': json11.h:169:63: error: return type 'struct json11::Json' is incomplete json11.h:171:56: error: invalid use of incomplete type 'struct json11::Json' json11.h:79:7: error: forward declaration of 'struct json11::Json' json11.h: At global scope: json11.h:192:39: error: non-member function 'bool json11::operator==(const json11::Json&)' cannot have cv-qualifier json11.h:192:39: error: 'bool json11::operator==(const json11::Json&)' must take exactly two arguments json11.h:193:39: error: non-member function 'bool json11::operator<(const json11::Json&)' cannot have cv-qualifier json11.h:193:39: error: 'bool json11::operator<(const json11::Json&)' must take exactly two arguments json11.h:194:39: error: non-member function 'bool json11::operator!=(const json11::Json&)' cannot have cv-qualifier json11.h:194:39: error: 'bool json11::operator!=(const json11::Json&)' must take exactly two arguments json11.h:195:39: error: non-member function 'bool json11::operator<=(const json11::Json&)' cannot have cv-qualifier json11.h:195:39: error: 'bool json11::operator<=(const json11::Json&)' must take exactly two arguments json11.h:196:39: error: non-member function 'bool json11::operator>(const json11::Json&)' cannot have cv-qualifier json11.h:196:39: error: 'bool json11::operator>(const json11::Json&)' must take exactly two arguments json11.h:197:39: error: non-member function 'bool json11::operator>=(const json11::Json&)' cannot have cv-qualifier json11.h:197:39: error: 'bool json11::operator>=(const json11::Json&)' must take exactly two arguments json11.h:204:58: error: 'Type' was not declared in this scope json11.h:204:58: error: template argument 2 is invalid json11.h:204:62: error: template argument 1 is invalid json11.h:204:70: error: invalid type in declaration before ';' token json11.h:205:60: error: non-member function 'bool json11::has_shape(const shape&, std::string&)' cannot have cv-qualifier json11.h:207:1: error: expected unqualified-id before 'private' json11.h:217:13: error: 'Json' does not name a type json11.h:225:19: error: 'Json' does not name a type json11.h:226:19: error: 'Json' does not name a type json11.h:227:19: error: 'Json' does not name a type json11.h:228:19: error: 'Json' does not name a type json11.h:232:1: error: expected declaration before '}' token In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/vector:65:0, from d:/RCompile/CRANpkg/lib/3.2/Rcpp/include/RcppCommon.h:59, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadillo.h:31, from FROM_geojson.cpp:18: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h: In destructor 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = json11::Json, _Alloc = std::allocator]': d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h:351:33: instantiated from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = json11::Json, _Alloc = std::allocator]' json11.h:189:62: instantiated from here d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h:142:9: error: invalid use of incomplete type 'struct json11::Json' json11.h:79:7: error: forward declaration of 'struct json11::Json' In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/vector:63:0, from d:/RCompile/CRANpkg/lib/3.2/Rcpp/include/RcppCommon.h:59, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/RcppArmadillo.h:31, from FROM_geojson.cpp:18: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_construct.h: In function 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = json11::Json*]': d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_construct.h:153:7: instantiated from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = json11::Json*, _Tp = json11::Json]' d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_vector.h:350:9: instantiated from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = json11::Json, _Alloc = std::allocator]' json11.h:189:62: instantiated from here d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stl_construct.h:127:7: error: incomplete type '_Value_type {aka json11::Json}' not allowed In file included from FROM_geojson.cpp:33:0: json11.h: In function 'bool json11::is_object()': json11.h:133:55: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_array()': json11.h:132:54: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_string()': json11.h:131:55: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_bool()': json11.h:130:53: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_number()': json11.h:129:55: warning: control reaches end of non-void function [-Wreturn-type] json11.h: In function 'bool json11::is_null()': json11.h:128:52: warning: control reaches end of non-void function [-Wreturn-type] json11.h: At global scope: json11.h:164:17: warning: 'json11::Json json11::parse(const string&, std::string&, json11::JsonParse)' declared 'static' but never defined [-Wunused-function] json11.h:167:17: warning: 'void json11::parse(const char*, std::string&, json11::JsonParse)' defined but not used [-Wunused-function] json11.h:178:30: warning: 'std::vector json11::parse_multi(const string&, std::basic_string::size_type&, std::string&, json11::JsonParse)' declared 'static' but never defined [-Wunused-function] make[1]: *** [FROM_geojson.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpOUQ6P3/R.INSTALL3c54336c21d9/geojsonR/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="geojsonR.dll" OBJECTS="FROM_geojson.o RcppExports.o TO_geojson.o init.o json11.o" symbols.rds' had status 2 ERROR: compilation failed for package 'geojsonR' * removing 'd:/Rcompile/CRANpkg/lib/3.2/geojsonR'