Skip to content

Commit

Permalink
Remove default.stringsAsFactors() usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Mar 10, 2022
1 parent 7ed7311 commit c553451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/coerce.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ NULL
# To data.frame ================================================================
#' @method as.data.frame MeanDate
#' @export
as.data.frame.MeanDate <- function(x, ..., stringsAsFactors = default.stringsAsFactors()) {
as.data.frame.MeanDate <- function(x, ..., stringsAsFactors = FALSE) {
data.frame(
names = names(x),
dates = as.numeric(x),
Expand All @@ -15,7 +15,7 @@ as.data.frame.MeanDate <- function(x, ..., stringsAsFactors = default.stringsAsF

#' @method as.data.frame IncrementTest
#' @export
as.data.frame.IncrementTest <- function(x, ..., stringsAsFactors = default.stringsAsFactors()) {
as.data.frame.IncrementTest <- function(x, ..., stringsAsFactors = FALSE) {
data.frame(
t = x@statistic,
p.value = x@p_value,
Expand Down

0 comments on commit c553451

Please sign in to comment.