Skip to content

cr_cn fails with some valid DOIs #225

Open
@bobmuscarella

Description

@bobmuscarella

rcrossref is returning errors with some valid DOIs (a sample below). These are valid, as confirmed on doi.org. Any ideas what is going on or how to fix?

Please note that I am using the most recent dev version of rcrossref and I have added my email to the R.environment as per instruction on the rcrossref Github page.

Thanks for any help!

Session Info
> library(rcrossref) > sessionInfo() Rversion4.0.3 (2020-10-10) Platform:x86_64-apple-darwin17.0 (64-bit) Runningunder:macOSBigSur10.16Matrixproducts:defaultLAPACK:/Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dyliblocale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8attachedbasepackages: [1] statsgraphicsgrDevicesutilsdatasetsmethodsbaseotherattachedpackages: [1] rcrossref_1.1.0.99loadedviaa namespace (andnotattached): [1] Rcpp_1.0.7plyr_1.8.6compiler_4.0.3pillar_1.6.1 [5] later_1.2.0remotes_2.4.0tools_4.0.3digest_0.6.27 [9] jsonlite_1.7.2lifecycle_1.0.0tibble_3.1.2pkgconfig_2.0.3 [13] rlang_0.4.11shiny_1.6.0DBI_1.1.1crul_1.1.0 [17] curl_4.3.1fastmap_1.1.0xml2_1.3.2stringr_1.4.0 [21] dplyr_1.0.6generics_0.1.0vctrs_0.3.8htmlwidgets_1.5.3 [25] DT_0.18tidyselect_1.1.1glue_1.4.2httpcode_0.3.0 [29] R6_2.5.1fansi_0.5.0purrr_0.3.4magrittr_2.0.1 [33] promises_1.2.0.1ellipsis_0.3.2htmltools_0.5.1.1assertthat_0.2.1 [37] mime_0.10xtable_1.8-4httpuv_1.6.1utf8_1.2.1 [41] stringi_1.6.2miniUI_0.1.1.1crayon_1.4.1
> cr_cn("10.1111/ddi.13378", "text") Errorin nchar(hh) :invalidmultibytestring, element1> cr_cn("10.1111/btp.12905", "text") Errorin nchar(hh) :invalidmultibytestring, element1> cr_cn('10.1038/s41597-020-00788-5') Errorin nchar(hh) :invalidmultibytestring, element1> cr_cn("10.1111/geb.13346") Warningmessage:v1/works/10.1111/geb.13346/transformw/ (500) -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      close