Davis Vaughan

Results 755 comments of Davis Vaughan

You would need `vec_ptype2()` and `vec_cast()` methods to be able to combine a character vector and a labelVector labelled object together, yes. You could study `haven:::vec_ptype2.character.haven_labelled()` and the other haven...

You're probably missing `@import vctrs` https://github.com/tidyverse/haven/blob/47a4219dbc83a337453fd9622c51748df93aa299/R/haven-package.R#L7 Alternatively you can just `@importFrom vctrs vec_cast` and `@importFrom vctrs vec_ptype2` Then `@export` will recognize `vec_cast.labelled.character` and friends as S3 methods and you wont...

Here's a reprex of what I think the problem is. When you select a chunk in the editor and sent it to the console, if it isn't "complete" then you...

I think this is actually an issue where we need to decide whether or not we want to match RStudio's behavior when we are repeatedly sending an incomplete chunk to...

Same here! Zed: v0.186.9 (Zed) OS: macOS 13.7.5 Memory: 32 GiB Architecture: aarch64 This worked great before, but around a month ago I also have been getting the "chipmunk" sound,...

Maybe related? Would certainly fit the time frame IMO: - https://github.com/zed-industries/zed/issues/9396 - https://github.com/zed-industries/zed/pull/27126

I have updated to Sequoia 15.4.1 (24E263) and the issue went away for me. Since the original poster was also on Sequoia I wonder if there was some kind of...

Its not super satisfying but I feel like the best way to retain the information of the `label` is to promote it to the column name before pivoting. Note that...

You could also use a more complex intermediate data structure - a packed data frame. This lets you keep the label alongside the values during the pivot by prematurely recycling...