Skip to content
Snippets Groups Projects
Commit 4515e9b3 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

un-suppressed the warnings.

parent f4b88d06
No related branches found
No related tags found
1 merge request!153int bug fix
......@@ -85,20 +85,20 @@ importWQP <- function(obs_url, zip=FALSE, tz=""){
}
)
doc <- unzip(temp)
retval <- suppressWarnings(read_delim(doc,
retval <- read_delim(doc,
col_types = cols(`ActivityStartTime/Time` = col_character(),
`ActivityEndTime/Time` = col_character(),
USGSPCode = col_character(),
ResultCommentText=col_character()),
quote = "", delim = "\t"))
quote = "", delim = "\t")
unlink(doc)
} else {
retval <- suppressWarnings(read_delim(obs_url,
retval <- read_delim(obs_url,
col_types = cols(`ActivityStartTime/Time` = col_character(),
`ActivityEndTime/Time` = col_character(),
USGSPCode = col_character(),
ResultCommentText=col_character()),
quote = "", delim = "\t"))
quote = "", delim = "\t")
}
} else {
stop("Status:", headerInfo['status'], ": ", headerInfo['statusMessage'], "\nFor: ", obs_url)
......@@ -111,20 +111,20 @@ importWQP <- function(obs_url, zip=FALSE, tz=""){
if(zip){
doc <- unzip(obs_url)
retval <- suppressWarnings(read_delim(obs_url,
retval <- read_delim(obs_url,
col_types = cols(`ActivityStartTime/Time` = col_character(),
`ActivityEndTime/Time` = col_character(),
USGSPCode = col_character(),
ResultCommentText=col_character()),
quote = "", delim = "\t"))
quote = "", delim = "\t")
unlink(doc)
} else {
retval <- suppressWarnings(read_delim(obs_url,
retval <- read_delim(obs_url,
col_types = cols(`ActivityStartTime/Time` = col_character(),
`ActivityEndTime/Time` = col_character(),
USGSPCode = col_character(),
ResultCommentText=col_character()),
quote = "", delim = "\t"))
quote = "", delim = "\t")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment