CRAN Package Check Results for Package matlab

Last updated on 2022-05-25 06:54:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 4.86 68.70 73.56 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.2 3.49 52.65 56.14 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2 88.18 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.2 75.99 ERROR
r-devel-windows-x86_64 1.0.2 32.00 96.00 128.00 ERROR
r-patched-linux-x86_64 1.0.2 5.52 64.91 70.43 NOTE
r-release-linux-x86_64 1.0.2 NOTE
r-release-macos-arm64 1.0.2 36.00 NOTE
r-release-macos-x86_64 1.0.2 52.00 NOTE
r-release-windows-x86_64 1.0.2 12.00 99.00 111.00 NOTE
r-oldrel-macos-arm64 1.0.2 42.00 NOTE
r-oldrel-macos-x86_64 1.0.2 72.00 NOTE
r-oldrel-windows-ix86+x86_64 1.0.2 9.00 63.00 72.00 NOTE

Check Details

Version: 1.0.2
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.2
Check: R code for possible problems
Result: NOTE
    Found the following possibly unsafe calls:
    File 'matlab/R/zzz.R':
     unlockBinding("savedTime", .MatlabNamespaceEnv)
    
    colorbar : colorbar.EO: no visible global function definition for 'par'
    colorbar : colorbar.EO: no visible global function definition for
     'axis'
    colorbar : colorbar.EO: no visible global function definition for
     'axTicks'
    colorbar : colorbar.EO: no visible global function definition for 'box'
    colorbar : colorbar.NO: no visible global function definition for
     'axis'
    colorbar : colorbar.NO: no visible global function definition for
     'axTicks'
    colorbar : colorbar.NO: no visible global function definition for 'box'
    imagesc : pretty.axp: no visible global function definition for 'par'
    imagesc: no visible global function definition for 'axis'
    imagesc: no visible global function definition for 'box'
    jet.colors: no visible global function definition for 'rgb'
    multiline.plot.colors : get.gca.colororder: no visible global function
     definition for 'rgb'
    std: no visible global function definition for 'sd'
    Undefined global functions or variables:
     axTicks axis box par rgb sd
    Consider adding
     importFrom("grDevices", "rgb")
     importFrom("graphics", "axTicks", "axis", "box", "par")
     importFrom("stats", "sd")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.2
Check: tests
Result: ERROR
     Running 'ceil.R' [0s/1s]
     Running 'cell.R' [0s/1s]
     Running 'eye.R' [1s/1s]
     Running 'factors.R' [3s/4s]
     Running 'fileparts.R' [1s/1s]
     Running 'find.R' [0s/1s]
     Running 'fix.R' [0s/0s]
     Running 'fliplr.R' [1s/1s]
     Running 'flipud.R' [1s/1s]
     Running 'fullfile.R' [0s/1s]
     Running 'hilb.R' [0s/1s]
     Running 'isempty.R' [0s/1s]
     Running 'isprime.R' [1s/1s]
     Running 'jet.colors.R' [1s/1s]
     Running 'linspace.R' [0s/1s]
     Running 'logspace.R' [0s/1s]
     Running 'magic.R' [1s/1s]
     Running 'meshgrid.R' [1s/1s]
     Running 'mkconstarray.R' [0s/1s]
     Running 'mod.R' [1s/1s]
     Running 'ndims.R' [1s/1s]
     Running 'nextpow2.R' [1s/1s]
     Running 'numel.R' [0s/1s]
     Running 'ones.R' [1s/1s]
     Running 'padarray.R' [1s/1s]
     Running 'pascal.R' [1s/1s]
     Running 'pow2.R' [1s/1s]
     Running 'primes.R' [1s/1s]
     Running 'rem.R' [0s/1s]
     Running 'repmat.R' [1s/1s]
     Running 'reshape.R' [1s/1s]
     Running 'rot90.R' [1s/1s]
     Running 'size.R' [1s/1s]
     Running 'std.R' [0s/1s]
     Running 'strcmp.R' [0s/1s]
     Running 'sum.R' [1s/1s]
     Running 'tictoc.R' [0s/7s]
     Running 'vander.R' [1s/1s]
     Running 'zeros.R' [1s/1s]
    Running the tests in 'tests/rem.R' failed.
    Complete output:
     > ###
     > ### $Id: rem.R 51 2014-02-05 21:22:28Z plroebuck $
     > ###
     >
     >
     > ##-----------------------------------------------------------------------------
     > test.rem <- function(input, expected) {
     + output <- do.call(getFromNamespace("rem", "matlab"), input)
     + identical(output, expected)
     + }
     >
     > X.mat <- matrix(1:9, nrow = 3, byrow = TRUE)
     > rem.expected.X.mat <- matrix(c(3:1, 6:4, 9:7), nrow = 3, byrow = TRUE)
     > rem.expected.X.mat.Y0 <- matrix(rep(NaN, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y1 <- matrix(rep(1, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y2 <- matrix(rep(c(1, 0), 5)[1:length(X.mat)],
     + nrow = nrow(X.mat))
     > rem.expected.X.mat.Y3 <- matrix(rep(c(1, 2, 0), nrow(X.mat)),
     + nrow = nrow(X.mat),
     + byrow = TRUE)
     >
     > test.rem(list(x = X.mat, y = 0), rem.expected.X.mat.Y0)
     Error in x > 0 && y > 0 : 'length = 9' in coercion to 'logical(1)'
     Calls: test.rem -> do.call -> <Anonymous>
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.2
Check: tests
Result: ERROR
     Running ‘ceil.R’ [0s/1s]
     Running ‘cell.R’ [0s/1s]
     Running ‘eye.R’ [0s/1s]
     Running ‘factors.R’ [2s/3s]
     Running ‘fileparts.R’ [0s/1s]
     Running ‘find.R’ [0s/1s]
     Running ‘fix.R’ [0s/1s]
     Running ‘fliplr.R’ [0s/1s]
     Running ‘flipud.R’ [0s/1s]
     Running ‘fullfile.R’ [0s/1s]
     Running ‘hilb.R’ [0s/1s]
     Running ‘isempty.R’ [0s/1s]
     Running ‘isprime.R’ [0s/1s]
     Running ‘jet.colors.R’ [0s/1s]
     Running ‘linspace.R’ [0s/1s]
     Running ‘logspace.R’ [0s/1s]
     Running ‘magic.R’ [0s/1s]
     Running ‘meshgrid.R’ [0s/1s]
     Running ‘mkconstarray.R’ [0s/1s]
     Running ‘mod.R’ [0s/1s]
     Running ‘ndims.R’ [0s/1s]
     Running ‘nextpow2.R’ [0s/1s]
     Running ‘numel.R’ [0s/1s]
     Running ‘ones.R’ [0s/1s]
     Running ‘padarray.R’ [0s/1s]
     Running ‘pascal.R’ [0s/1s]
     Running ‘pow2.R’ [0s/1s]
     Running ‘primes.R’ [0s/1s]
     Running ‘rem.R’ [0s/1s]
     Running ‘repmat.R’ [0s/1s]
     Running ‘reshape.R’ [0s/1s]
     Running ‘rot90.R’ [0s/1s]
     Running ‘size.R’ [0s/1s]
     Running ‘std.R’ [0s/1s]
     Running ‘strcmp.R’ [0s/1s]
     Running ‘sum.R’ [0s/1s]
     Running ‘tictoc.R’ [0s/7s]
     Running ‘vander.R’ [0s/1s]
     Running ‘zeros.R’ [0s/1s]
    Running the tests in ‘tests/rem.R’ failed.
    Complete output:
     > ###
     > ### $Id: rem.R 51 2014-02-05 21:22:28Z plroebuck $
     > ###
     >
     >
     > ##-----------------------------------------------------------------------------
     > test.rem <- function(input, expected) {
     + output <- do.call(getFromNamespace("rem", "matlab"), input)
     + identical(output, expected)
     + }
     >
     > X.mat <- matrix(1:9, nrow = 3, byrow = TRUE)
     > rem.expected.X.mat <- matrix(c(3:1, 6:4, 9:7), nrow = 3, byrow = TRUE)
     > rem.expected.X.mat.Y0 <- matrix(rep(NaN, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y1 <- matrix(rep(1, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y2 <- matrix(rep(c(1, 0), 5)[1:length(X.mat)],
     + nrow = nrow(X.mat))
     > rem.expected.X.mat.Y3 <- matrix(rep(c(1, 2, 0), nrow(X.mat)),
     + nrow = nrow(X.mat),
     + byrow = TRUE)
     >
     > test.rem(list(x = X.mat, y = 0), rem.expected.X.mat.Y0)
     Error in x > 0 && y > 0 : 'length = 9' in coercion to 'logical(1)'
     Calls: test.rem -> do.call -> <Anonymous>
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: tests
Result: ERROR
     Running ‘ceil.R’
     Running ‘cell.R’
     Running ‘eye.R’
     Running ‘factors.R’
     Running ‘fileparts.R’
     Running ‘find.R’
     Running ‘fix.R’
     Running ‘fliplr.R’
     Running ‘flipud.R’
     Running ‘fullfile.R’
     Running ‘hilb.R’
     Running ‘isempty.R’
     Running ‘isprime.R’
     Running ‘jet.colors.R’
     Running ‘linspace.R’
     Running ‘logspace.R’
     Running ‘magic.R’
     Running ‘meshgrid.R’
     Running ‘mkconstarray.R’
     Running ‘mod.R’
     Running ‘ndims.R’
     Running ‘nextpow2.R’
     Running ‘numel.R’
     Running ‘ones.R’
     Running ‘padarray.R’
     Running ‘pascal.R’
     Running ‘pow2.R’
     Running ‘primes.R’
     Running ‘rem.R’
     Running ‘repmat.R’
     Running ‘reshape.R’
     Running ‘rot90.R’
     Running ‘size.R’
     Running ‘std.R’
     Running ‘strcmp.R’
     Running ‘sum.R’
     Running ‘tictoc.R’
     Running ‘vander.R’
     Running ‘zeros.R’
    Running the tests in ‘tests/rem.R’ failed.
    Complete output:
     > ###
     > ### $Id: rem.R 51 2014-02-05 21:22:28Z plroebuck $
     > ###
     >
     >
     > ##-----------------------------------------------------------------------------
     > test.rem <- function(input, expected) {
     + output <- do.call(getFromNamespace("rem", "matlab"), input)
     + identical(output, expected)
     + }
     >
     > X.mat <- matrix(1:9, nrow = 3, byrow = TRUE)
     > rem.expected.X.mat <- matrix(c(3:1, 6:4, 9:7), nrow = 3, byrow = TRUE)
     > rem.expected.X.mat.Y0 <- matrix(rep(NaN, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y1 <- matrix(rep(1, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y2 <- matrix(rep(c(1, 0), 5)[1:length(X.mat)],
     + nrow = nrow(X.mat))
     > rem.expected.X.mat.Y3 <- matrix(rep(c(1, 2, 0), nrow(X.mat)),
     + nrow = nrow(X.mat),
     + byrow = TRUE)
     >
     > test.rem(list(x = X.mat, y = 0), rem.expected.X.mat.Y0)
     Error in x > 0 && y > 0 : 'length = 9' in coercion to 'logical(1)'
     Calls: test.rem -> do.call -> <Anonymous>
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.2
Check: tests
Result: ERROR
     Running 'ceil.R' [1s]
     Running 'cell.R' [1s]
     Running 'eye.R' [1s]
     Running 'factors.R' [3s]
     Running 'fileparts.R' [1s]
     Running 'find.R' [1s]
     Running 'fix.R' [1s]
     Running 'fliplr.R' [1s]
     Running 'flipud.R' [1s]
     Running 'fullfile.R' [1s]
     Running 'hilb.R' [1s]
     Running 'isempty.R' [1s]
     Running 'isprime.R' [1s]
     Running 'jet.colors.R' [1s]
     Running 'linspace.R' [1s]
     Running 'logspace.R' [1s]
     Running 'magic.R' [1s]
     Running 'meshgrid.R' [1s]
     Running 'mkconstarray.R' [1s]
     Running 'mod.R' [1s]
     Running 'ndims.R' [1s]
     Running 'nextpow2.R' [1s]
     Running 'numel.R' [1s]
     Running 'ones.R' [1s]
     Running 'padarray.R' [1s]
     Running 'pascal.R' [1s]
     Running 'pow2.R' [1s]
     Running 'primes.R' [1s]
     Running 'rem.R' [1s]
     Running 'repmat.R' [1s]
     Running 'reshape.R' [1s]
     Running 'rot90.R' [1s]
     Running 'size.R' [1s]
     Running 'std.R' [1s]
     Running 'strcmp.R' [1s]
     Running 'sum.R' [1s]
     Running 'tictoc.R' [7s]
     Running 'vander.R' [1s]
     Running 'zeros.R' [1s]
    Running the tests in 'tests/rem.R' failed.
    Complete output:
     > ###
     > ### $Id: rem.R 51 2014-02-05 21:22:28Z plroebuck $
     > ###
     >
     >
     > ##-----------------------------------------------------------------------------
     > test.rem <- function(input, expected) {
     + output <- do.call(getFromNamespace("rem", "matlab"), input)
     + identical(output, expected)
     + }
     >
     > X.mat <- matrix(1:9, nrow = 3, byrow = TRUE)
     > rem.expected.X.mat <- matrix(c(3:1, 6:4, 9:7), nrow = 3, byrow = TRUE)
     > rem.expected.X.mat.Y0 <- matrix(rep(NaN, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y1 <- matrix(rep(1, length(X.mat)), nrow = nrow(X.mat))
     > rem.expected.X.mat.Y2 <- matrix(rep(c(1, 0), 5)[1:length(X.mat)],
     + nrow = nrow(X.mat))
     > rem.expected.X.mat.Y3 <- matrix(rep(c(1, 2, 0), nrow(X.mat)),
     + nrow = nrow(X.mat),
     + byrow = TRUE)
     >
     > test.rem(list(x = X.mat, y = 0), rem.expected.X.mat.Y0)
     Error in x > 0 && y > 0 : 'length = 9' in coercion to 'logical(1)'
     Calls: test.rem -> do.call -> <Anonymous>
     Execution halted
Flavor: r-devel-windows-x86_64