Open nicolaroberts opened 5 years ago
Thanks for report. I have a fix for WHO codes on Windows, about to go to CRAN, but I think this is a different issue. Are you able to browse the WHO ICD-10 codes from your location? Also please let me know your platform, Windows/macOS/Linux version, R version, and if you have CRAN or Github ice installed. Thanks again, Jack
On Jun 17, 2019, at 2:27 AM, nicolaroberts notifications@github.com wrote:
I have been trying to get the WHO 2016 ICD 10 codes, with the function get_icd10who2016(), but am getting the following error:
Error: lexical error: invalid char in json text. <!DOCTYPE html PUBLIC "-//W3C// (right here) ------^
my R session info was:
`> devtools::session_info()
Session info ------------------------------------------------------------------------------------------------------- setting value version R version 3.5.3 (2019-03-11) os Windows 10 x64 system x86_64, mingw32 ui RStudio language (EN) collate English_Australia.1252 ctype English_Australia.1252 tz Australia/Sydney date 2019-06-17
Packages ----------------------------------------------------------------------------------------------------------- package version date lib source assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.5.3) backports 1.1.4 2019-04-10 [1] CRAN (R 3.5.3) callr 3.2.0 2019-03-15 [1] CRAN (R 3.5.3) cli 1.1.0 2019-03-19 [1] CRAN (R 3.5.2) crayon 1.3.4 2017-09-16 [1] CRAN (R 3.5.2) curl 3.3 2019-01-10 [1] CRAN (R 3.5.2) desc 1.2.0 2018-05-01 [1] CRAN (R 3.5.3) devtools 2.0.2 2019-04-08 [1] CRAN (R 3.5.3) digest 0.6.19 2019-05-20 [1] CRAN (R 3.5.3) fs 1.3.1 2019-05-06 [1] CRAN (R 3.5.3) glue 1.3.1 2019-03-12 [1] CRAN (R 3.5.3) httr 1.4.0 2018-12-11 [1] CRAN (R 3.5.2) icd 4.0.6 2019-05-07 [1] CRAN (R 3.5.3) jsonlite 1.6 2018-12-07 [1] CRAN (R 3.5.2) magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.2) memoise 1.1.0 2017-04-21 [1] CRAN (R 3.5.3) pkgbuild 1.0.3 2019-03-20 [1] CRAN (R 3.5.3) pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.5.3) prettyunits 1.0.2 2015-07-13 [1] CRAN (R 3.5.2) processx 3.3.1 2019-05-08 [1] CRAN (R 3.5.3) ps 1.3.0 2018-12-21 [1] CRAN (R 3.5.2) R6 2.4.0 2019-02-14 [1] CRAN (R 3.5.2) rappdirs 0.3.1 2016-03-28 [1] CRAN (R 3.5.3) Rcpp 1.0.1 2019-03-17 [1] CRAN (R 3.5.3) remotes 2.0.4 2019-04-10 [1] CRAN (R 3.5.3) rlang 0.3.4 2019-04-07 [1] CRAN (R 3.5.3) rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.5.2) rstudioapi 0.10 2019-03-19 [1] CRAN (R 3.5.3) sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.5.2) testthat 2.1.1 2019-04-23 [1] CRAN (R 3.5.3) usethis 1.5.0 2019-04-07 [1] CRAN (R 3.5.3) withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.2) `
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi Jack, this problem was on Windows, R version 3.5.3 with the latest CRAN version of icd (4.0.6). I thought it might be the firewall at work but it still persisted when I connected to the general open wifi. I tried it again on my MacOS at home and it worked perfectly on the mac!
I have been trying to get the WHO 2016 ICD 10 codes, with the function
get_icd10who2016()
, but am getting the following error:Error: lexical error: invalid char in json text. <!DOCTYPE html PUBLIC "-//W3C// (right here) ------^
my R session info was:
`
assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.5.3) backports 1.1.4 2019-04-10 [1] CRAN (R 3.5.3) callr 3.2.0 2019-03-15 [1] CRAN (R 3.5.3) cli 1.1.0 2019-03-19 [1] CRAN (R 3.5.2) crayon 1.3.4 2017-09-16 [1] CRAN (R 3.5.2) curl 3.3 2019-01-10 [1] CRAN (R 3.5.2) desc 1.2.0 2018-05-01 [1] CRAN (R 3.5.3) devtools 2.0.2 2019-04-08 [1] CRAN (R 3.5.3) digest 0.6.19 2019-05-20 [1] CRAN (R 3.5.3) fs 1.3.1 2019-05-06 [1] CRAN (R 3.5.3) glue 1.3.1 2019-03-12 [1] CRAN (R 3.5.3) httr 1.4.0 2018-12-11 [1] CRAN (R 3.5.2) icd 4.0.6 2019-05-07 [1] CRAN (R 3.5.3) jsonlite 1.6 2018-12-07 [1] CRAN (R 3.5.2) magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.2) memoise 1.1.0 2017-04-21 [1] CRAN (R 3.5.3) pkgbuild 1.0.3 2019-03-20 [1] CRAN (R 3.5.3) pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.5.3) prettyunits 1.0.2 2015-07-13 [1] CRAN (R 3.5.2) processx 3.3.1 2019-05-08 [1] CRAN (R 3.5.3) ps 1.3.0 2018-12-21 [1] CRAN (R 3.5.2) R6 2.4.0 2019-02-14 [1] CRAN (R 3.5.2) rappdirs 0.3.1 2016-03-28 [1] CRAN (R 3.5.3) Rcpp 1.0.1 2019-03-17 [1] CRAN (R 3.5.3) remotes 2.0.4 2019-04-10 [1] CRAN (R 3.5.3) rlang 0.3.4 2019-04-07 [1] CRAN (R 3.5.3) rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.5.2) rstudioapi 0.10 2019-03-19 [1] CRAN (R 3.5.3) sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.5.2) testthat 2.1.1 2019-04-23 [1] CRAN (R 3.5.3) usethis 1.5.0 2019-04-07 [1] CRAN (R 3.5.3) withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.2)
`