roadoi icon indicating copy to clipboard operation
roadoi copied to clipboard

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

Open mskyttner opened this issue 4 years ago • 5 comments

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?

mskyttner avatar Oct 15 '19 15:10 mskyttner

What is your sessionInfo() after library(roadoi) on a fresh session please?

On Tue, 15 Oct 2019 at 17:22, Markus Skyttner [email protected] wrote:

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?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

njahn82 avatar Oct 15 '19 15:10 njahn82

> 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 avatar Oct 15 '19 15:10 mskyttner

Found this, it might be related

https://github.com/r-lib/vctrs/issues/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 avatar Oct 15 '19 16:10 mskyttner

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

mskyttner avatar Oct 15 '19 16:10 mskyttner

Great, glad it works for you!

On Tue, 15 Oct 2019 at 18:35, Markus Skyttner [email protected] wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ropensci/roadoi/issues/25?email_source=notifications&email_token=AAM7YRRAKJANGXPROZRUQ6DQOXWMDA5CNFSM4JA6HQP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBJNPXQ#issuecomment-542300126, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM7YRXBVUJZDBW6WWSCXM3QOXWMDANCNFSM4JA6HQPQ .

njahn82 avatar Oct 15 '19 17:10 njahn82