Skip to content

Commit

Permalink
Replace default.stringsAsFactors with getOption
Browse files Browse the repository at this point in the history
  • Loading branch information
mojaveazure committed May 2, 2022
1 parent 25c91cf commit 2647231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utilities.R
Expand Up @@ -1610,7 +1610,7 @@ as.data.frame.Matrix <- function(
row.names = NULL,
optional = FALSE,
...,
stringsAsFactors = default.stringsAsFactors()
stringsAsFactors = getOption(x = "stringsAsFactors", default = FALSE)
) {
return(as.data.frame(
x = as.matrix(x = x),
Expand Down

0 comments on commit 2647231

Please sign in to comment.