Commit 4aadc95
committed
docs(slide.R): correct error message regarding data.frame rownames
The error message says that slide computations can't be rownamed data frames.
This is both bad wording (having rownames != having non-automatic rownames) and
we're not actually enforcing any restriction of the sort anyway. We drop/ignore
the rownames though (via dplyr/tibble). In `epix_slide`, the allowance of
non-automatic rownames was deliberate; in `epi_slide`, it also seems likely the
way to go; one might convert to `data.frame` and have some filter-like operation
return non-automatic rownames.1 parent a82d48d commit 4aadc95
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| |||
0 commit comments