Skip to content

Commit 7da9424

Browse files
committed
change 'cat' -> 'message' for #59
1 parent 6ce416c commit 7da9424

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: osmplotr
22
Title: Bespoke Images of 'OpenStreetMap' Data
3-
Version: 0.3.5.017
3+
Version: 0.3.5.018
44
Authors@R:
55
c(person(given = "Mark",
66
family = "Padgham",

R/extract-highways.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ abbreviate_hwy_names <- function (highway_names, nletters = 2) {
7171

7272
dl_hw_data <- function (highway_names, hw_abbrvs, bbox) {
7373

74-
cat ("Downloading OSM data ...\n")
74+
message ("Downloading OSM data ...")
7575
p4s <- NULL
7676
lens_old <- length (highway_names)
7777
lens <- 0

R/make-osm-map.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ get_bbox_from_data <- function (osm_data) {
131131

132132
get_missing_osm_data <- function (osm_data, structures, bbox, dat_prefix) {
133133

134-
cat (
135-
"Downloading and extracting OSM data for",
136-
nrow (structures), "structures ...\n"
134+
message (
135+
"Downloading and extracting OSM data for ",
136+
nrow (structures), " structures ..."
137137
)
138138
pb <- txtProgressBar (max = 1, style = 3)
139139
t0 <- proc.time ()
@@ -163,7 +163,7 @@ get_missing_osm_data <- function (osm_data, structures, bbox, dat_prefix) {
163163
setTxtProgressBar (pb, i / nrow (structures))
164164
}
165165
close (pb)
166-
cat ("That took ", (proc.time () - t0) [3], "s\n", sep = "")
166+
message ("That took ", (proc.time () - t0) [3], "s\n", sep = "")
167167

168168
list ("indx" = indx, "osm_data" = osm_data)
169169
}

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeRepository": "https://github.com/ropensci/osmplotr",
99
"issueTracker": "https://github.com/ropensci/osmplotr/issues",
1010
"license": "https://spdx.org/licenses/GPL-3.0",
11-
"version": "0.3.5.017",
11+
"version": "0.3.5.018",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

0 commit comments

Comments
 (0)