CRAN Package Check Results for Package mazealls

Last updated on 2019-08-18 23:47:37 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 4.70 178.73 183.43 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.88 129.53 133.41 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 222.35 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 204.89 OK
r-devel-windows-ix86+x86_64 0.2.0 12.00 253.00 265.00 OK
r-patched-linux-x86_64 0.2.0 4.19 172.89 177.08 OK
r-patched-solaris-x86 0.2.0 272.30 ERROR
r-release-linux-x86_64 0.2.0 3.69 171.07 174.76 OK
r-release-windows-ix86+x86_64 0.2.0 8.00 197.00 205.00 OK
r-release-osx-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 8.00 198.00 206.00 OK
r-oldrel-osx-x86_64 0.2.0 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [172s/217s]
    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#247) ──────────────────────────────────
     'Calloc' could not allocate memory (134217728 of 8 bytes)
     1: turtle_do({
     turtle_left(90)
     turtle_forward(distance = 200)
     turtle_right(90)
     turtle_backward(distance = 300)
     koch_maze(depth = 4, unit_len = 8)
     }) at testthat/test-basic.r:247
     2: eval(substitute(expr), envir = parent.frame())
     3: eval(substitute(expr), envir = parent.frame())
     4: koch_maze(depth = 4, unit_len = 8) at testthat/test-basic.r:252
     5: eq_triangle_maze(unit_len = unit_len, depth = log2(3^depth), start_from = "corner",
     clockwise = clockwise, draw_boundary = FALSE, end_side = end_side)
     6: hexagon_maze(depth = log2(by_three), unit_len = unit_len, clockwise = clockwise,
     method = "random", start_from = "midpoint", draw_boundary = TRUE, num_boundary_holes = 0,
     boustro = rev(boustro), boundary_hole_locations = .rboustro(6, boustro = boustro,
     nsegs = 2^by_three), boundary_lines = c(2, 4, 6), boundary_holes = c(2, 4,
     6))
     7: .rboustro(6, boustro = boustro, nsegs = 2^by_three)
     8: sample(nsegs, size = n, prob = stats::dbeta(stats::ppoints(nsegs), shape1 = boustro[1],
     shape2 = boustro[2]), replace = TRUE)
     9: sample.int(x, size, replace, prob)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 5 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: README code (@test-basic.r#247)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86