Skip to content

Commit

Permalink
fixes #689
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Jun 3, 2024
1 parent 191597f commit 65c8726
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# version 0.6-6

* `mutate.stars` (and others) handle attribute names with spaces in them; #689

* `st_crop()` gains an argument `normalize`; when set to `TRUE` `st_normalize()` is called on the returned value; #685, #686

* constrain reading full GEOLOCATION arrays to the case where they are 2-D; #678
Expand Down
2 changes: 1 addition & 1 deletion R/tidyverse.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# convert arrays to data.frame, in long form
to_df = function(x) {
as.data.frame(lapply(x, function(y) structure(y, dim = NULL)), stringsAsFactors = FALSE)
dplyr::as_tibble(lapply(x, function(y) structure(y, dim = NULL)))
}

set_dim = function(x, d) {
Expand Down

0 comments on commit 65c8726

Please sign in to comment.