Running examples in ‘cbioportalR-Ex.R’ failed
The error most likely occurred in:

> ### Name: .get_data_by_sample
> ### Title: Internal Function to Get Mutations/CNA/Fusion By Sample ID
> ### Aliases: .get_data_by_sample
> ### Keywords: internal
> 
> ### ** Examples
> 
> ## Don't show: 
> if (!httr::http_error("www.cbioportal.org/api")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ set_cbioportal_db("public")
+ .get_data_by_sample(sample_id = c("TCGA-OR-A5J2-01","TCGA-OR-A5J6-01"),
+  study_id = "acc_tcga", data_type = "mutation")
+ 
+ .get_data_by_sample(sample_id = c("DS-sig-010-P2"),
+  molecular_profile_id = "blca_plasmacytoid_mskcc_2016_cna", data_type = "cna")
+ 
+ 
+ .get_data_by_sample(sample_id = c("P-0002146-T01-IM3"),
+  study_id = "blca_plasmacytoid_mskcc_2016", data_type = "fusion")
+ 
+ ## Don't show: 
+ }) # examplesIf
> set_cbioportal_db("public")
✔ You are successfully connected!
✔ base_url for this R session is now set to "www.cbioportal.org/api" 
> .get_data_by_sample(sample_id = c("TCGA-OR-A5J2-01", "TCGA-OR-A5J6-01"), 
+     study_id = "acc_tcga", data_type = "mutation")
The following parameters were used in query:
Study ID: "acc_tcga"
Molecular Profile ID: "acc_tcga_mutations"
Genes: "All available genes"
# A tibble: 173 × 33
   hugoGeneSymbol entre…¹ uniqu…² uniqu…³ molec…⁴ sampl…⁵ patie…⁶ studyId center
   <chr>            <int> <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr> 
 1 ZFPM1           161882 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
 2 ZFPM1           161882 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
 3 ZFPM1           161882 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
 4 ZFPM1           161882 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
 5 ZNF787          126208 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
 6 PODXL             5420 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
 7 CCDC102A         92922 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
 8 TVP23C          201158 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… ucsc.…
 9 RINL            126432 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
10 ZNF628           89887 VENHQS… VENHQS… acc_tc… TCGA-O… TCGA-O… acc_tc… hgsc.…
# … with 163 more rows, 24 more variables: mutationStatus <chr>,
#   validationStatus <chr>, tumorAltCount <int>, tumorRefCount <int>,
#   normalAltCount <int>, normalRefCount <int>, startPosition <int>,
#   endPosition <int>, referenceAllele <chr>, proteinChange <chr>,
#   mutationType <chr>, functionalImpactScore <chr>, fisValue <dbl>,
#   linkXvar <chr>, linkPdb <chr>, linkMsa <chr>, ncbiBuild <chr>,
#   variantType <chr>, keyword <chr>, chr <chr>, variantAllele <chr>, …
> .get_data_by_sample(sample_id = c("DS-sig-010-P2"), molecular_profile_id = "blca_plasmacytoid_mskcc_2016_cna", 
+     data_type = "cna")
The following parameters were used in query:
Study ID: "blca_plasmacytoid_mskcc_2016"
Molecular Profile ID: "blca_plasmacytoid_mskcc_2016_cna"
Genes: "All available genes"
# A tibble: 2 × 9
  hugoGeneSymbol entre…¹ uniqu…² uniqu…³ molec…⁴ sampl…⁵ patie…⁶ studyId alter…⁷
  <chr>            <int> <chr>   <chr>   <chr>   <chr>   <chr>   <chr>     <int>
1 YAP1             10413 RFMtc2… RFMtc2… blca_p… DS-sig… DS-sig… blca_p…       2
2 CD79B              974 RFMtc2… RFMtc2… blca_p… DS-sig… DS-sig… blca_p…      -2
# … with abbreviated variable names ¹​entrezGeneId, ²​uniqueSampleKey,
#   ³​uniquePatientKey, ⁴​molecularProfileId, ⁵​sampleId, ⁶​patientId, ⁷​alteration
> .get_data_by_sample(sample_id = c("P-0002146-T01-IM3"), study_id = "blca_plasmacytoid_mskcc_2016", 
+     data_type = "fusion")
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Error in the HTTP2 framing layer
Calls: <Anonymous> ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted