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

Changed message back to cat.

parent 26055ec0
No related branches found
No related tags found
No related merge requests found
......@@ -20,13 +20,13 @@
populateParameterINFO <- function(parameterCd, localINFO=INFO, interactive=TRUE){
if (nzchar(parameterCd)){
if(interactive){
message("Your water quality data are for parameter number", localINFO$paramNumber, "which has the name:'", localINFO$param.nm, "'.\n")
message("Typically you will want a shorter name to be used in graphs and tables. The suggested short name is:'", localINFO$paramShortName, "'.\n")
message("If you would like to change the short name, enter it here, otherwise just hit enter (no quotes):")
cat("Your water quality data are for parameter number", localINFO$paramNumber, "which has the name:'", localINFO$param.nm, "'.\n")
cat("Typically you will want a shorter name to be used in graphs and tables. The suggested short name is:'", localINFO$paramShortName, "'.\n")
cat("If you would like to change the short name, enter it here, otherwise just hit enter (no quotes):")
shortNameTemp <- readline()
if (nchar(shortNameTemp)>0) localINFO$paramShortName <- shortNameTemp
message("The units for the water quality data are: ", localINFO$param.units, ".\n")
message("It is helpful to set up a constiuent abbreviation when doing multi-constituent studies, enter a unique id (three or four characters should work something like tn or tp or NO3).\nIt is case sensitive. Even if you don't feel you need an abbreviation you need to enter something (no quotes):\n")
cat("The units for the water quality data are: ", localINFO$param.units, ".\n")
cat("It is helpful to set up a constiuent abbreviation when doing multi-constituent studies, enter a unique id (three or four characters should work something like tn or tp or NO3).\nIt is case sensitive. Even if you don't feel you need an abbreviation you need to enter something (no quotes):\n")
localINFO$constitAbbrev <- readline()
} else {
localINFO$constitAbbrev <- localINFO$paramShortName
......@@ -34,13 +34,13 @@ populateParameterINFO <- function(parameterCd, localINFO=INFO, interactive=TRUE)
} else {
if (interactive){
localINFO$paramNumber <- NA
message("Enter a long name for the water quality data (no quotes):\n")
cat("Enter a long name for the water quality data (no quotes):\n")
localINFO$param.nm <- readline()
message("Enter a short name to be used in graphs and tables(no quotes):\n")
cat("Enter a short name to be used in graphs and tables(no quotes):\n")
localINFO$paramShortName <- readline()
message("It is helpful to set up a constiuent abbreviation when doing multi-constituent studies, enter a unique id (three or four characters should work something like tn or tp or NO3).\nIt is case sensitive. Even if you don't feel you need an abbreviation you need to enter something (no quotes):\n")
cat("It is helpful to set up a constiuent abbreviation when doing multi-constituent studies, enter a unique id (three or four characters should work something like tn or tp or NO3).\nIt is case sensitive. Even if you don't feel you need an abbreviation you need to enter something (no quotes):\n")
localINFO$constitAbbrev <- readline()
message("Enter the units of the water quality data(no quotes):\n")
cat("Enter the units of the water quality data(no quotes):\n")
localINFO$param.units <- readline()
} else {
localINFO$paramNumber <- NA
......
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