Use TRUE and FALSE instead of T and F
Change-Id: I4f419313d56a9b58a96879ff6df7c9f2d873dfb4
diff --git a/R/misc.R b/R/misc.R
index 75697d3..a39ef21 100644
--- a/R/misc.R
+++ b/R/misc.R
@@ -26,7 +26,7 @@
#' Convert corpus frequency table of alternatives to percent
#'
#' Convenience function for converting frequency tables of alternative variants
-#' (generated with \code{as.alternatives=T}) to percent.
+#' (generated with \code{as.alternatives=TRUE}) to percent.
#'
#' @param df table returned from \code{\link{frequencyQuery}}
#'
@@ -67,7 +67,7 @@
#' @importFrom PTXQC lcsCount
#'
#' @export
-queryStringToLabel <- function(data, pubDateOnly = F, excludePubDate = F) {
+queryStringToLabel <- function(data, pubDateOnly = FALSE, excludePubDate = FALSE) {
if (pubDateOnly) {
data <-substring(data, regexpr("pubDate", data)+7)
} else if(excludePubDate) {