Error: 'vec_dim' is not an exported object from 'namespace:vctrs

Just trying to follow the new rectangles vignette and came up with the below error.

"Error: 'vec_dim' is not an exported object from 'namespace:vctrs'"

I have the dev version of tidyr & rlang installed, but I'm wondering if I need others?

# install.packages("repurrrsive")

users <- tibble(user = gh_users)
users # Error here

#This still works:
users %>% unnest_wider(user)

R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252
[4] LC_NUMERIC=C LC_TIME=English_Australia.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] repurrrsive_0.1.0 dplyr_0.8.1 tidyr_0.8.3.9000

loaded via a namespace (and not attached):
[1] Rcpp_1.0.1 fansi_0.4.0 utf8_1.1.4 assertthat_0.2.1 zeallot_0.1.0 crayon_1.3.4 R6_2.4.0
[8] backports_1.1.4 magrittr_1.5 pillar_1.4.1 cli_1.1.0 rlang_0.4.0.9000 rstudioapi_0.10 vctrs_0.2.0
[15] tools_3.6.0 glue_1.3.1 purrr_0.3.2 yaml_2.2.0 compiler_3.6.0 pkgconfig_2.0.2 tidyselect_0.2.5
[22] tibble_2.1.3

Ok, on my home Windows 10 machine the above code works, package differences:

  • rlang_0.3.99.9003
  • vctrs_0.1.0.9004
    Also, cli_1.1.0 is loaded via namespace, but I can't imagine that would be related.
    Is it possible to roll-back to an earlier version vctrs and/or rlang?

I updated all packages via Rstudio, the problem is fixed.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.