Skip to content

Commit 93bcbc4

Browse files
committed
closes #751
... and addresses #527
1 parent 552b248 commit 93bcbc4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# version 0.6-9
22

3+
* `slice.stars_proxy()` works (again) for single-file proxy objects; #751, #527
4+
35
* `[.stars()` with a `character` selector selects on names of a dimension if it has names; #747
46

57
* handle "intervals" dimension in aggregate.stars() and `st_as_sf.stars()`; #745

R/tidyverse.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ slice.stars_proxy <- function(.data, along, index, ...) {
161161
# adrop.stars_proxy
162162

163163
# If there are already operations queued, just add to the queue
164-
if (!is.null(attr(.data, "call_list")))
164+
if (!is.null(attr(.data, "call_list")) ||
165+
(length(.data) == 1 && is.character(.data[[1]]))) # #527
165166
return(collect(.data, match.call(), "slice", ".data",
166167
env = parent.frame(), ...))
167168

0 commit comments

Comments
 (0)