Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mskyttner opened this issue Oct 15, 2019 · 5 comments
Open

Comments

@mskyttner
Copy link

mskyttner commented Oct 15, 2019

I ran into this issue after installing the package today and running this example code from the Vignette:

library(roadoi)
roadoi::oadoi_fetch(dois = c(
    "10.1186/s12864-016-2566-9",
    "10.1103/physreve.88.012814"), 
  email = "[email protected]")

Maybe the vctrs:::vec_dim() used to be exported from that namespace but is no longer?

@njahn82
Copy link
Member

njahn82 commented Oct 15, 2019 via email

@mskyttner
Copy link
Author

> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.3 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=sv_SE.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=sv_SE.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=sv_SE.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=sv_SE.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] roadoi_0.6

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.1       rstudioapi_0.10  magrittr_1.5     tidyselect_0.2.5 xtable_1.8-4    
 [6] R6_2.4.0         rlang_0.4.0      fansi_0.4.0      httr_1.4.0       plyr_1.8.4      
[11] dplyr_0.8.1      tools_3.4.4      utf8_1.1.4       cli_1.1.0        miniUI_0.1.1.1  
[16] htmltools_0.3.6  assertthat_0.2.1 digest_0.6.19    tibble_2.1.3     crayon_1.3.4    
[21] shiny_1.3.2      tidyr_0.8.3      purrr_0.3.2      later_0.8.0      vctrs_0.2.0     
[26] promises_1.0.1   zeallot_0.1.0    curl_4.0         glue_1.3.1       mime_0.7        
[31] compiler_3.4.4   pillar_1.4.1     backports_1.1.4  jsonlite_1.6     httpuv_1.5.1    
[36] pkgconfig_2.0.2 

@mskyttner
Copy link
Author

Found this, it might be related

r-lib/vctrs#487

Seems there the solution was to update pillar, not sure if that is relevant but pillar_1.4.2 seems to be newer than 1.4.1.

@mskyttner
Copy link
Author

In a fresh R session, I can now run that code from the Vignette, with pillar_1.4.2 installed, without getting the error.

@njahn82
Copy link
Member

njahn82 commented Oct 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants