Running 'testthat.R'
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)
  > 
  > isCran <- function() {
  +   !identical(Sys.getenv("NOT_CRAN"), "true")
  + }
  > 
  > # workaround for error "cannot open file 'startup.Rs': No such file or directory"
  > Sys.setenv("R_TESTS" = "")
  > test_check("parallelDist")
  Warning message:
  In system(cmd) : 'make' not found
  
  Warning message:
  In system(cmd) : 'make' not found
  
  Warning message:
  In system(cmd) : 'make' not found
  
  Warning message:
  In system(cmd) : 'make' not found
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (testMatrixCustomDistances.R:51:3): custom euclidean distance method produces same outputs as native method ──
  Error in `sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, 
      showOutput = showOutput, verbose = verbose, echo = echo)`: Error 1 occurred building shared library.
  Backtrace:
      █
   1. └─RcppXPtrUtils::cppXPtr(...) testMatrixCustomDistances.R:51:2
   2.   └─Rcpp::cppFunction(...)
   3.     └─Rcpp::sourceCpp(...)
  ── Error (testMatrixCustomDistances.R:57:3): error for wrong return value of func pointer shows up ──
  Error in `sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, 
      showOutput = showOutput, verbose = verbose, echo = echo)`: Error 1 occurred building shared library.
  Backtrace:
      █
   1. └─RcppXPtrUtils::cppXPtr(...) testMatrixCustomDistances.R:57:2
   2.   └─Rcpp::cppFunction(...)
   3.     └─Rcpp::sourceCpp(...)
  ── Error (testMatrixCustomDistances.R:63:3): error for wrong argument type of func pointer shows up ──
  Error in `sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, 
      showOutput = showOutput, verbose = verbose, echo = echo)`: Error 1 occurred building shared library.
  Backtrace:
      █
   1. └─RcppXPtrUtils::cppXPtr(...) testMatrixCustomDistances.R:63:2
   2.   └─Rcpp::cppFunction(...)
   3.     └─Rcpp::sourceCpp(...)
  ── Error (testMatrixCustomDistances.R:69:3): error for wrong number of arguments of func pointer shows up ──
  Error in `sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, 
      showOutput = showOutput, verbose = verbose, echo = echo)`: Error 1 occurred building shared library.
  Backtrace:
      █
   1. └─RcppXPtrUtils::cppXPtr(...) testMatrixCustomDistances.R:69:2
   2.   └─Rcpp::cppFunction(...)
   3.     └─Rcpp::sourceCpp(...)
  
  [ FAIL 4 | WARN 10294 | SKIP 0 | PASS 510 ]
  Error: Test failures
  Execution halted