Running ‘runTests.R’ [1s/7s]
Running the tests in ‘tests/runTests.R’ failed.
Complete output:
  > library(testthat)
  > library(cgdsr)
  Please send questions to cbioportal@googlegroups.com
  > test_package("cgdsr")
  ── 1. Error: getCancerStudies (@test_cgdsr.R#6)  ───────────────────────────────
  cannot open the connection to 'http://www.cbioportal.org/webservice.do?cmd=getCancerStudies&'
  1: getCancerStudies(mycgds) at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cgdsr/tests/test_cgdsr.R:6
  2: getCancerStudies.CGDS(mycgds)
  3: processURL(x, url)
  4: processURL.CGDS(x, url)
  5: read.table(url, skip = 0, header = TRUE, as.is = TRUE, sep = "\t", quote = "")
  6: file(file, "rt")
  
  ── 2. Error: getCaseLists (@test_cgdsr.R#12)  ──────────────────────────────────
  cannot open the connection to 'http://www.cbioportal.org/webservice.do?cmd=getCancerStudies&'
  1: getCancerStudies(mycgds) at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cgdsr/tests/test_cgdsr.R:12
  2: getCancerStudies.CGDS(mycgds)
  3: processURL(x, url)
  4: processURL.CGDS(x, url)
  5: read.table(url, skip = 0, header = TRUE, as.is = TRUE, sep = "\t", quote = "")
  6: file(file, "rt")
  
  ── 3. Error: getGeneticProfiles (@test_cgdsr.R#23)  ────────────────────────────
  cannot open the connection to 'http://www.cbioportal.org/webservice.do?cmd=getCancerStudies&'
  1: getCancerStudies(mycgds) at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cgdsr/tests/test_cgdsr.R:23
  2: getCancerStudies.CGDS(mycgds)
  3: processURL(x, url)
  4: processURL.CGDS(x, url)
  5: read.table(url, skip = 0, header = TRUE, as.is = TRUE, sep = "\t", quote = "")
  6: file(file, "rt")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 11 SKIPPED: 0 FAILED: 3
  1. Error: getCancerStudies (@test_cgdsr.R#6) 
  2. Error: getCaseLists (@test_cgdsr.R#12) 
  3. Error: getGeneticProfiles (@test_cgdsr.R#23) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead 
  Execution halted