Skip to content

Commit 8e9bc72

Browse files
committed
edit
1 parent e55776e commit 8e9bc72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/metar_get_historical.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ metar_get_historical <- function(airport = "EPWA",
181181
ds <- utils::read.csv((textConnection(myfile)), stringsAsFactors = FALSE)
182182
# check if ds is a data frame and number of rows is greater than 0
183183
if (!is.data.frame(ds) | ncol(ds) != 3 | nrow(ds) == 0) {
184-
stop("pmetar package error: Malformed answer from the server mesonet.agron.iastate.edu! ", call. = FALSE)
184+
stop("pmetar package error: Malformed answer from the server mesonet.agron.iastate.edu!", call. = FALSE)
185185
}
186186
# check if there are all columns needed in ds
187187
if (!("station" %in% names(ds)) | !("valid" %in% names(ds)) | !("metar" %in% names(ds))) {

0 commit comments

Comments
 (0)