Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(TNRS)
  > 
  > 
  > test_check("TNRS")
  == Failed tests ================================================================
  -- Error (test-TNRS.R:7:3): example works --------------------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS(taxonomic_names = tnrs_testfile) test-TNRS.R:7:2
   2. | \-TNRS:::.TNRS_base(...)
   3. |   \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   4. |     \-RCurl::.postForm(curl, .opts, .params, style)
   5. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS.R:19:3): character vector returns results ------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS(...) test-TNRS.R:19:2
   2. | \-TNRS:::.TNRS_base(...)
   3. |   \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   4. |     \-RCurl::.postForm(curl, .opts, .params, style)
   5. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS.R:28:3): character returns results -------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS(taxonomic_names = c("Epidendrum boyleii")) test-TNRS.R:28:2
   2. | \-TNRS:::.TNRS_base(...)
   3. |   \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   4. |     \-RCurl::.postForm(curl, .opts, .params, style)
   5. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS.R:40:3): all sources work ----------------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS(taxonomic_names = species, sources = "tpl") test-TNRS.R:40:2
   2. | \-TNRS:::.TNRS_base(...)
   3. |   \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   4. |     \-RCurl::.postForm(curl, .opts, .params, style)
   5. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS.R:64:3): matches all returns more rows than best -----------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS(taxonomic_names = "Epidendon boyleii", matches = "all") test-TNRS.R:64:2
   2. | \-TNRS:::.TNRS_base(...)
   3. |   \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   4. |     \-RCurl::.postForm(curl, .opts, .params, style)
   5. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS.R:74:3): parsing returns matches ---------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS(taxonomic_names = "Epidentrum boyleii", mode = "parse") test-TNRS.R:74:2
   2. | \-TNRS:::.TNRS_base(...)
   3. |   \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   4. |     \-RCurl::.postForm(curl, .opts, .params, style)
   5. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS_base.R:7:3): example works ---------------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS:::.TNRS_base(taxonomic_names = tnrs_testfile) test-TNRS_base.R:7:2
   2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   3. |   \-RCurl::.postForm(curl, .opts, .params, style)
   4. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS_citations.R:6:3): example works ----------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS_citations() test-TNRS_citations.R:6:2
   2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   3. |   \-RCurl::.postForm(curl, .opts, .params, style)
   4. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS_metadata.R:6:3): example works -----------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS_metadata() test-TNRS_metadata.R:6:2
   2. | \-TNRS::TNRS_citations()
   3. |   \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   4. |     \-RCurl::.postForm(curl, .opts, .params, style)
   5. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS_sources.R:6:3): example works ------------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS_sources() test-TNRS_sources.R:6:2
   2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   3. |   \-RCurl::.postForm(curl, .opts, .params, style)
   4. \-(function (type, msg, asError = TRUE) ...
  -- Error (test-TNRS_version.R:6:3): example works ------------------------------
  Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  Backtrace:
      x
   1. +-TNRS::TNRS_version() test-TNRS_version.R:6:2
   2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers))
   3. |   \-RCurl::.postForm(curl, .opts, .params, style)
   4. \-(function (type, msg, asError = TRUE) ...
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted