Running ‘tinytest.R’ [1s/14s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if (requireNamespace("tinytest", quietly = TRUE) &&
  +     utils::packageVersion("tinytest") >= "1.0.0") {
  + 
  +   # extended testing (at_home = TRUE) for CI
  +   # but not to be executed on CRAN (where
  +   # released versions have 3 components)
  + 
  +   # see section 4.4 in vignette("using_tinytest", "tinytest")
  +   cran <- !length(unclass(packageVersion("ctrdata"))[[1]]) == 4
  + 
  +   # do testing
  +   tt <- tinytest::test_package(
  +     pkgname = "ctrdata",
  +     color = FALSE,
  +     at_home = !cran)
  + 
  +   # unless on CRAN
  +   if (!cran) {
  +     saveRDS(
  +       object = tt,
  +       file = "tinytest.rds")
  +   }
  + 
  + }
  Information on this package and how to use it:
  https://cran.r-project.org/package=ctrdata
  
  Please respect the requirements and the copyrights of the
  clinical trial registers when using their information. Call
  ctrOpenSearchPagesInBrowser(copyright = TRUE) and visit
  https://www.clinicaltrialsregister.eu/disclaimer.html
  https://clinicaltrials.gov/ct2/about-site/terms-conditions#Use
  https://www.isrctn.com/page/faqs#usingISRCTN
  
  Checking helper binaries: 
  php not found, ctrLoadQueryIntoDb() will not work 
  php xml not found, ctrLoadQueryIntoDb() will not work 
  php json not found, ctrLoadQueryIntoDb() will not work 
  To install command line binaries needed for the function ctrLoadQueryIntoDb() of package ctrdata, see recommendations at https://github.com/rfhb/ctrdata#2-command-line-tools-perl-sed-cat-and-php-52-or-higher
  After installation, detach and load package ctrdata again, or restart the R session.
  
  done.
  
  test_ctrdata_ctrfindactivesubstance.R    0 tests    
  test_ctrdata_ctrfindactivesubstance.R    0 tests    Error in open.connection(x, "rb") : 
    Timeout was reached: [clinicaltrials.gov] Resolving timed out after 10000 milliseconds
  Calls: <Anonymous> ... ctrFindActiveSubstanceSynonyms -> <Anonymous> -> read_html.default
  Execution halted