aboutsummaryrefslogtreecommitdiff
path: root/pkg/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-08-21 15:01:10 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-08-21 15:01:10 +0200
commit4477e69b46e88c196f354463190753650157ea0d (patch)
tree11fff041c94defcb64544bc29c94a9527d25e273 /pkg/R
parentad4cd5d9a1f8c3976d08048a441129b1fb49a62b (diff)
Updates to pass checks and tests
Diffstat (limited to 'pkg/R')
-rw-r--r--pkg/R/TOXSWA_cwa.R2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/R/TOXSWA_cwa.R b/pkg/R/TOXSWA_cwa.R
index 7fd8ec1..9f729e5 100644
--- a/pkg/R/TOXSWA_cwa.R
+++ b/pkg/R/TOXSWA_cwa.R
@@ -58,6 +58,7 @@ read.TOXSWA_cwa <- function(filename, basedir = ".", zipfile = NULL,
#' Plot TOXSWA hourly concentrations of a chemical substance in a specific
#' segment of a segment of a TOXSWA surface water body.
#'
+#' @import graphics
#' @param x The TOXSWA_cwa object to be plotted.
#' @param xlab,ylab Labels for x and y axis.
#' @param time_column What should be used for the time axis. If "t_firstjan" is chosen,
@@ -171,6 +172,7 @@ TOXSWA_cwa <- R6Class("TOXSWA_cwa",
}
cwa_all_segments <- try(read.table(file_connection,
sep = "", skip = 40,
+ encoding = "UTF-8",
colClasses = c("character", "numeric",
"integer", rep("numeric", 5)),
col.names = c("datetime", "t", "segment",

Contact - Imprint