Running ‘testthat.R’ [169s/210s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # Copyright 2017-2017 Steven E. Pav. All Rights Reserved.
  > # Author: Steven E. Pav
  > 
  > # This file is part of mazealls.
  > #
  > # mazealls is free software: you can redistribute it and/or modify
  > # it under the terms of the GNU Lesser General Public License as published by
  > # the Free Software Foundation, either version 3 of the License, or
  > # (at your option) any later version.
  > #
  > # mazealls 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 Lesser General Public License for more details.
  > #
  > # You should have received a copy of the GNU Lesser General Public License
  > # along with mazealls.  If not, see <http://www.gnu.org/licenses/>.
  > 
  > # env var:
  > # nb: 
  > # see also:
  > # todo:
  > # changelog: 
  > #
  > # Created: 2017-10-03
  > # Copyright: Steven E. Pav, 2017-2017
  > # Author: Steven E. Pav
  > # Comments: Steven E. Pav
  > 
  > # because Hadley says it should be like this.
  > # see https://github.com/hadley/devtools/wiki/Testing
  > 
  > library(testthat)
  > library(mazealls)
  > 
  > # once you have a directory of tests, uncomment this.
  > test_check("mazealls")
  ── 1. Error: README code (@test-basic.r#252)  ──────────────────────────────────
  'Calloc' could not allocate memory (134217728 of 8 bytes)
  Backtrace:
   1. mazealls::koch_maze(depth = 4, unit_len = 8)
   2. mazealls::eq_triangle_maze(...)
   4. mazealls:::.rboustro(6, boustro = boustro, nsegs = 2^by_three)
   5. base::sample(...)
   6. base::sample.int(x, size, replace, prob)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 0 | SKIPPED: 5 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: README code (@test-basic.r#252) 
  
  Error: testthat unit tests failed
  Execution halted