You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed the latest version of vctrs, and it is causing ''gather'' to break.
I understand gather has been retired, but it is deeply ingrained in my code and not easily changeable to pivot_longer (which I like much less than gather to be honest).
Running the ''gather'' example here leads to an error as follows:
'Error: object 'vctrs_new_data_frame' not found'
library(dplyr)
# From https://stackoverflow.com/questions/1181060
stocks <- tibble(
time = as.Date('2009-01-01') + 0:9,
X = rnorm(10, 0, 1),
Y = rnorm(10, 0, 2),
Z = rnorm(10, 0, 4)
)
gather(stocks, "stock", "price", -time)
I just installed the latest version of vctrs, and it is causing ''gather'' to break.
I understand gather has been retired, but it is deeply ingrained in my code and not easily changeable to pivot_longer (which I like much less than gather to be honest).
Running the ''gather'' example here leads to an error as follows:
'Error: object 'vctrs_new_data_frame' not found'
My session info follows:
other attached packages:
[1] forcats_0.4.0 stringr_1.4.0 dplyr_0.8.4 purrr_0.3.3 readr_1.3.1 tidyr_1.0.0 tibble_2.1.3 ggplot2_3.2.1 tidyverse_1.3.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 cellranger_1.1.0 pillar_1.4.3 compiler_3.6.0 dbplyr_1.4.2 tools_3.6.0 packrat_0.5.0 lubridate_1.7.4 jsonlite_1.6
[10] lifecycle_0.1.0 nlme_3.1-139 gtable_0.3.0 lattice_0.20-38 pkgconfig_2.0.3 rlang_0.4.4 reprex_0.3.0 cli_2.0.1 DBI_1.1.0
[19] rstudioapi_0.11 haven_2.2.0 withr_2.1.2 xml2_1.2.2 httr_1.4.1 fs_1.3.1 generics_0.0.2 vctrs_0.2.3 hms_0.5.3
[28] grid_3.6.0 tidyselect_1.0.0 glue_1.3.1.9000 R6_2.4.1 fansi_0.4.1 readxl_1.3.1 modelr_0.1.5 magrittr_1.5 ellipsis_0.3.0
[37] backports_1.1.4 scales_1.0.0 rvest_0.3.5 assertthat_0.2.1 colorspace_1.4-1 stringi_1.4.5 lazyeval_0.2.2 munsell_0.5.0 broom_0.5.2
[46] crayon_1.3.4
The text was updated successfully, but these errors were encountered: