Running 'testthat.R' [60s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > ## testthat.R
  > ##
  > ## Copyright (C)  2017  Alexander Eckert
  > ##
  > ## This file is part of parallelDist.
  > ##
  > ## parallelDist is free software: you can redistribute it and/or modify it
  > ## under the terms of the GNU General Public License as published by
  > ## the Free Software Foundation, either version 2 of the License, or
  > ## (at your option) any later version.
  > ##
  > ## parallelDist is distributed in the hope that it will be useful, but
  > ## WITHOUT ANY WARRANTY; without even the implied warranty of
  > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  > ## GNU General Public License for more details.
  > ##
  > ## You should have received a copy of the GNU General Public License
  > ## along with parallelDist. If not, see <http://www.gnu.org/licenses/>.
  > 
  > library(testthat)
  > library(parallelDist)
  > 
  > # workaround for error "cannot open file 'startup.Rs': No such file or directory"
  > Sys.setenv("R_TESTS" = "")
  > test_check("parallelDist")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 494 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('testMatrixDistances.R:67:3'): bhjattacharyya method produces same outputs as dist ──
  Error in `crossprod(sqrt(x) - sqrt(y))`: "crossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─parallelDist (local) testMatrixListEquality(mat.list, "bhjattacharyya") at testMatrixDistances.R:67:2
    2. │ └─base::sapply(...) at testMatrixDistances.R:42:2
    3. │   └─base::lapply(X = X, FUN = FUN, ...)
    4. │     └─parallelDist (local) FUN(X[[i]], ...)
    5. │       └─parallelDist (local) testMatrixEquality(x, method, ...) at testMatrixDistances.R:43:4
    6. │         ├─parallelDist:::suppressNaNWarnings(...) at testMatrixDistances.R:37:2
    7. │         │ └─base::tryCatch(...) at D:\RCompile\CRANpkg\local\4.4\parallelDist.Rcheck\tests\testthat\helper.R:25:2
    8. │         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9. │         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10. │         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11. │         ├─testthat::expect_equal(...)
   12. │         │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   13. │         │   └─rlang::eval_bare(expr, quo_get_env(quo))
   14. │         ├─base::as.matrix(dist(matrix, method = method, ...))
   15. │         └─proxy::dist(matrix, method = method, ...)
   16. │           └─proxy (local) .proxy_external(R_apply_dist_matrix, x, NULL)
   17. │             └─base::do.call(...)
   18. └─proxy (local) `<fn>`(`<dbl>`, `<dbl>`)
  ── Error ('testMatrixListDistances.R:61:3'): bhjattacharyya method produces same outputs as dist ──
  Error in `crossprod(sqrt(x) - sqrt(y))`: "crossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─parallelDist (local) testMatrixListEquality(matlist.list.h, mat.list, "bhjattacharyya") at testMatrixListDistances.R:61:2
    2. │ └─base::mapply(...) at testMatrixListDistances.R:53:2
    3. │   └─parallelDist (local) `<fn>`(X = dots[[1L]][[1L]], Y = dots[[2L]][[1L]])
    4. │     └─parallelDist (local) testMatrixListMatrixEquality(X, Y, method, ...) at testMatrixListDistances.R:54:4
    5. │       ├─parallelDist:::suppressNaNWarnings(...) at testMatrixListDistances.R:49:2
    6. │       │ └─base::tryCatch(...) at D:\RCompile\CRANpkg\local\4.4\parallelDist.Rcheck\tests\testthat\helper.R:25:2
    7. │       │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8. │       │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9. │       │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10. │       ├─testthat::expect_equal(...)
   11. │       │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   12. │       │   └─rlang::eval_bare(expr, quo_get_env(quo))
   13. │       ├─base::as.matrix(dist(matrix, method = method, ...))
   14. │       └─proxy::dist(matrix, method = method, ...)
   15. │         └─proxy (local) .proxy_external(R_apply_dist_matrix, x, NULL)
   16. │           └─base::do.call(...)
   17. └─proxy (local) `<fn>`(`<dbl>`, `<dbl>`)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 494 ]
  Error: Test failures
  Execution halted