tangled
alpha
login
or
join now
mpadge.tngl.sh
/
osmdata
0
fork
atom
R package for downloading OpenStreetMap data
0
fork
atom
overview
issues
pulls
pipelines
Missing instead of null for deprecated argument
Joan Maspons
9 months ago
a6dc6504
598b06e4
+3
-3
2 changed files
expand all
collapse all
unified
split
R
opq.R
man
opq.Rd
+2
-2
R/opq.R
···
99
99
#' add_osm_feature (key = "place")
100
100
#' opqa2 <- osmdata_sf (qa2)
101
101
#' }
102
102
-
opq <- function (bbox = NULL, nodes_only = NULL,
102
102
+
opq <- function (bbox = NULL, nodes_only,
103
103
osm_types = c ("node", "way", "relation"),
104
104
out = c ("body", "tags", "meta", "skel", "tags center", "ids"),
105
105
datetime = NULL, datetime2 = NULL, adiff = FALSE,
···
108
108
timeout <- format (timeout, scientific = FALSE)
109
109
prefix <- paste0 ("[out:xml][timeout:", timeout, "]")
110
110
111
111
-
if (!is.null(nodes_only)) {
111
111
+
if (!missing(nodes_only)) {
112
112
.Deprecated(msg = paste("The 'nodes_only' argument is deprecated",
113
113
"and will be removed in a future version.",
114
114
"Use 'osm_types = \"node\"' instead."))
+1
-1
man/opq.Rd
···
6
6
\usage{
7
7
opq(
8
8
bbox = NULL,
9
9
-
nodes_only = NULL,
9
9
+
nodes_only,
10
10
osm_types = c("node", "way", "relation"),
11
11
out = c("body", "tags", "meta", "skel", "tags center", "ids"),
12
12
datetime = NULL,