We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059fb35 commit be93615Copy full SHA for be93615
NEWS.md
@@ -1,5 +1,8 @@
1
# tidyr 0.5.0.9000
2
3
+* Restored compatibility with R < 3.3.0 by avoiding `getS3method(envir = )` (#205, @krlmlr).
4
+
5
6
# tidyr 0.5.0
7
8
## New functions
R/spread.R
@@ -147,7 +147,8 @@ col_names <- function(x, sep = NULL) {
147
}
148
149
as_data_frame_matrix <- function(x) {
150
- utils::getS3method("as_data_frame", "matrix", envir = asNamespace("tibble"))(x)
+ # getS3method() only available in R >= 3.3
151
+ get("as_data_frame.matrix", asNamespace("tibble"), mode = "function")(x)
152
153
154
#' @export
0 commit comments