ropensci / openalexR

Getting bibliographic records from OpenAlex
https://docs.ropensci.org/openalexR/
Other
89 stars 19 forks source link

error in "A_Brief_Introduction_to_openalexR.Rmd" vignette #187

Closed maelle closed 8 months ago

maelle commented 8 months ago

Via https://ropensci.r-universe.dev/builds

We see

library("magrittr")
library("openalexR")
#> Thank you for using openalexR!
#> To acknowledge our work, please cite the package by calling `citation("openalexR")`.
#> To suppress this message, add `openalexR.message = suppressed` to your .Renviron file.
oa_fetch(
  identifier = c("A923435168", "A2208157607"),
  verbose = TRUE
) %>%
  show_authors() 
#> Requesting url: https://api.openalex.org/authors?filter=openalex%3AA923435168%7CA2208157607
#> Warning in oa_request(oa_query(filter = filter_i, multiple_id = multiple_id, :
#> No records found!
#> Error in x[, c("id", "display_name", "orcid", "works_count", "cited_by_count", : incorrect number of dimensions

Created on 2023-11-07 with reprex v2.0.2

massimoaria commented 8 months ago

I have corrected the vignette to face new author ids generated by OpenAlex.