CRAN Package Check Results for Package svgtools

Last updated on 2021-12-04 07:50:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 5.47 39.44 44.91 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.3 3.31 30.75 34.06 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.3 59.25 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 46.99 ERROR
r-devel-windows-x86_64-new-UL 1.0.3 11.00 71.00 82.00 ERROR
r-devel-windows-x86_64-new-TK 1.0.3 ERROR
r-devel-windows-x86_64-old 1.0.3 8.00 42.00 50.00 ERROR
r-patched-linux-x86_64 1.0.3 5.06 31.89 36.95 OK
r-release-linux-x86_64 1.0.3 5.09 31.54 36.63 OK
r-release-macos-arm64 1.0.3 OK
r-release-macos-x86_64 1.0.3 OK
r-release-windows-ix86+x86_64 1.0.3 9.00 51.00 60.00 OK
r-oldrel-macos-x86_64 1.0.3 OK
r-oldrel-windows-ix86+x86_64 1.0.3 9.00 52.00 61.00 OK

Check Details

Version: 1.0.3
Check: examples
Result: ERROR
    Running examples in 'svgtools-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: diffBar
    > ### Title: Adjust bar chart where bars lie to the left/right or bottom/top
    > ### of a given nullvalue
    > ### Aliases: diffBar
    >
    > ### ** Examples
    >
    > #read SVG file
    > fpath <- system.file("extdata", "fig7.svg", package="svgtools")
    > svg <- read_svg(file = fpath)
    >
    > #adjust bars
    > df <- data.frame(diff_negative = c(NA,NA,-0.7,NA,-0.33),
    + diff_positive = c(0.4,0.55,NA,0.02,NA))
    > svg <- diffBar(svg = svg, frame_name = "frame", group_name = "group",
    + scale_real = c(-1,1), values = df, nullvalue = 0,
    + label_position = "end", decimals = 1, display_limits = 0.1)
    Error in sum(rowvalues[na.as.false(rowvalues < nullvalue)]) :
     invalid 'type' (list) of argument
    Calls: diffBar
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.3
Check: examples
Result: ERROR
    Running examples in ‘svgtools-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: diffBar
    > ### Title: Adjust bar chart where bars lie to the left/right or bottom/top
    > ### of a given nullvalue
    > ### Aliases: diffBar
    >
    > ### ** Examples
    >
    > #read SVG file
    > fpath <- system.file("extdata", "fig7.svg", package="svgtools")
    > svg <- read_svg(file = fpath)
    >
    > #adjust bars
    > df <- data.frame(diff_negative = c(NA,NA,-0.7,NA,-0.33),
    + diff_positive = c(0.4,0.55,NA,0.02,NA))
    > svg <- diffBar(svg = svg, frame_name = "frame", group_name = "group",
    + scale_real = c(-1,1), values = df, nullvalue = 0,
    + label_position = "end", decimals = 1, display_limits = 0.1)
    Error in sum(rowvalues[na.as.false(rowvalues < nullvalue)]) :
     invalid 'type' (list) of argument
    Calls: diffBar
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK, r-devel-windows-x86_64-old