Bioconductor / GenomicDataCommons

Provide R access to the NCI Genomic Data Commons portal.
http://bioconductor.github.io/GenomicDataCommons/
83 stars 23 forks source link

quick start code does not run #25

Closed vjcitn closed 7 years ago

vjcitn commented 7 years ago

several examples in the quick start chunk on the front page for this repo fail. perhaps there is an authentication issue for some of the commands. it would be very helpful to have links for the authentication creation steps as the NCI GDC web pages do not give a clear path to a workable approach -- where do i go, what do i do to establish authentic credentials or know that i have failed to do so.

library(GenomicDataCommons) endpoints() available endpoints: status, projects, cases, files, annotations, data, manifest, slicing ?experiments No documentation for ‘experiments’ in specified packages and libraries: you could try ‘??experiments’ experiments(size=20) Error: could not find function "experiments" No suitable frames for recover() status() Error in curl::curl_fetch_memory(url, handle = handle) : SSL connect error

Enter a frame number, or 0 to exit

1: status() 2: .gdc_get(paste(version, "status", sep = "/")) 3: GET(uri, add_headers(X-Auth-Token = token), ...) 4: request_perform(req, hu$handle$handle) 5: request_fetch(req$output, req$url, handle) 6: request_fetch.write_memory(req$output, req$url, handle) 7: curl::curl_fetch_memory(url, handle = handle)

sessionInfo() R Under development (unstable) (2016-10-26 r71594) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X El Capitan 10.11.6

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] GenomicDataCommons_0.1.4 rmarkdown_1.3

loaded via a namespace (and not attached): [1] Rcpp_0.12.8 digest_0.6.10 rprojroot_1.1 R6_2.2.0
[5] jsonlite_1.2 backports_1.0.4 magrittr_1.5 evaluate_0.10
[9] httr_1.2.1 stringi_1.1.2 curl_2.3 xml2_1.0.0
[13] tools_3.4.0 stringr_1.1.0 htmltools_0.3.5 knitr_1.15.1