Hi,
I've previously used the SNPediaR package without problem. However, now when I try to use the getPages() function, I receive this error message:
> library (SNPediaR)
> getPages (titles = "Rs53576")
Error: lexical error: invalid char in json text.
<!DOCTYPE HTML PUBLIC "-//IETF/
(right here) ------^
> traceback()
6: .Call(R_parse, txt, bigint_as_char)
5: parse_string(txt, bigint_as_char)
4: parseJSON(txt, bigint_as_char)
3: fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame,
simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
2: fromJSON(datos)
1: getPages(titles = "Rs53576")
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] SNPediaR_1.4.0 BiocInstaller_1.28.0
loaded via a namespace (and not attached):
[1] compiler_3.4.3 tools_3.4.3 RCurl_1.95-4.10 jsonlite_1.5 bitops_1.0-6
I followed the package documentation here: https://bioconductor.org/packages/3.6/bioc/vignettes/SNPediaR/inst/doc/SNPediaR.html This function worked a few months ago, but not now.
Thank you for your help.
