File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
inst/include/geojsonsf/geojson Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Encoding: UTF-8
1515LazyData: true
1616Depends: R (>= 4.0.0)
1717LinkingTo:
18- geometries,
18+ geometries (>= 0.2.5) ,
1919 jsonify (>= 1.2.3),
2020 rapidjsonr (>= 1.2.1),
2121 Rcpp,
@@ -25,7 +25,6 @@ Imports:
2525RoxygenNote: 7.3.3
2626Suggests:
2727 covr,
28- jsonify (>= 1.2.3),
2928 knitr,
3029 rmarkdown,
3130 tinytest
Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ namespace geojson_properties {
5353
5454 // allow NULL through so the type is correct when back in R
5555 // Treat "True" and "False" as the same type (logical)
56- bool both_logical = (existing_type == " True" || existing_type == " False" ) &&
56+ bool both_logical = (existing_type == " True" || existing_type == " False" ) &&
5757 (type == " True" || type == " False" );
58-
58+
5959 if (!both_logical) {
6060 // if it's different, update to be a 'String'
6161 property_types[property] = " String" ;
You can’t perform that action at this time.
0 commit comments