CRAN Package Check Results for Package mmap

Last updated on 2017-01-19 03:52:59.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6-12 3.26 13.52 16.78 WARN
r-devel-linux-x86_64-debian-gcc 0.6-12 3.37 13.27 16.64 WARN
r-devel-linux-x86_64-fedora-clang 0.6-12 27.62 WARN --no-stop-on-test-error
r-devel-linux-x86_64-fedora-gcc 0.6-12 26.34 WARN --no-stop-on-test-error
r-devel-macos-x86_64-clang 0.6-12 28.09 WARN --no-stop-on-test-error
r-devel-windows-ix86+x86_64 0.6-12 18.00 34.00 52.00 WARN
r-patched-linux-x86_64 0.6-12 3.07 11.43 14.50 NOTE
r-patched-solaris-sparc 0.6-12 146.00 ERROR
r-patched-solaris-x86 0.6-12 36.80 NOTE
r-release-linux-x86_64 0.6-12 3.09 11.45 14.54 NOTE
r-release-osx-x86_64-mavericks 0.6-12 NOTE
r-release-windows-ix86+x86_64 0.6-12 9.00 32.00 41.00 WARN
r-oldrel-windows-ix86+x86_64 0.6-12 9.00 32.00 41.00 WARN

Memtest notes: clang-UBSAN clang-UBSAN gcc6-UBSAN gcc6-UBSAN gcc7-UBSAN gcc7-UBSAN

Check Details

Version: 0.6-12
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-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.6-12
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     dim.mmap dim<-.mmap dimnames.mmap dimnames<-.mmap is.array.mmap
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64

Version: 0.6-12
Check: R code for possible problems
Result: NOTE
    mmap.csv: no visible global function definition for ‘read.table’
    print.mmap: no visible global function definition for ‘head’
    str.mmap: no visible global function definition for ‘str’
    summary.mmap: no visible global function definition for ‘str’
    Undefined global functions or variables:
     head read.table str
    Consider adding
     importFrom("utils", "head", "read.table", "str")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 0.6-12
Check: files in ‘vignettes’
Result: WARN
    Files in the 'vignettes' directory but no files in 'inst/doc':
     ‘doc/mmap.Rnw’, ‘doc/mmap.pdf’
    Package has no Sweave vignette sources and no VignetteBuilder field.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64

Version: 0.6-12
Flags: --no-stop-on-test-error
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 0.6-12
Flags: --no-stop-on-test-error
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     dim.mmap dim<-.mmap dimnames.mmap dimnames<-.mmap is.array.mmap
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 0.6-12
Flags: --no-stop-on-test-error
Check: R code for possible problems
Result: NOTE
    mmap.csv: no visible global function definition for ‘read.table’
    print.mmap: no visible global function definition for ‘head’
    str.mmap: no visible global function definition for ‘str’
    summary.mmap: no visible global function definition for ‘str’
    Undefined global functions or variables:
     head read.table str
    Consider adding
     importFrom("utils", "head", "read.table", "str")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 0.6-12
Flags: --no-stop-on-test-error
Check: files in ‘vignettes’
Result: WARN
    Files in the 'vignettes' directory but no files in 'inst/doc':
     ‘doc/mmap.Rnw’, ‘doc/mmap.pdf’
    Package has no Sweave vignette sources and no VignetteBuilder field.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 0.6-12
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     mmap.c:223:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     mmap.c:226:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.6-12
Check: tests
Result: ERROR
     Running ‘integers.R’
    Running the tests in ‘tests/integers.R’ failed.
    Complete output:
     > library(mmap)
     > tmp <- tempfile()
     >
     > ##### int8() #####
     > # write binary from min to max signed 2^8
     > test.int8 <- function() {
     + writeBin(-128:127L, tmp, size=1)
     +
     + m <- mmap(tmp, int8()) # signed 1 byte integers
     + if( !all(m[] == (-128:127L)) )
     + stop("m[] == (-128:127L)")
     +
     + # test replacement
     + m[] <- -128L
     + if( !all(m[] == -128))
     + stop("m[] == -128")
     + munmap(m)
     + }
     >
     >
     >
     >
     > #### uint8() ####
     > test.uint8 <- function(on=TRUE) {
     + if( !isTRUE(on)) {
     + cat("test.uint8 disabled\n")
     + return(NULL)
     + }
     + writeBin(0:255L, tmp, size=1)
     + m <- mmap(tmp, uint8()) # unsigned 1 byte integers
     + if( !all(m[] == 0:255L) )
     + stop("m[] == 0:255L")
     +
     + # test replacement
     + m[] <- 255L;
     + if( !all(m[] == 255L))
     + stop("m[] == 255L")
     + munmap(m)
     + }
     >
     >
     >
     >
     > #### int16() ####
     > test.int16 <- function(on=TRUE) {
     + if( !isTRUE(on)) {
     + cat("test.int16 disabled\n")
     + return(NULL)
     + }
     + writeBin(-32768:32767L, tmp, size=2)
     + m <- mmap(tmp, int16()) # signed 2 byte integers
     + if( !all(m[] == -32768:32767L) )
     + stop("m[] == -32768:32767L")
     +
     + # test replacement
     + m[] <- -32768L
     + if( !all(m[] == -32768L))
     + stop("m[] == -32768L")
     + munmap(m)
     + }
     >
     >
     >
     >
     > #### uint16() ####
     > test.uint16 <- function(on=TRUE) {
     + cat("checking test.uint16...")
     + if( !isTRUE(on)) {
     + cat("test.uint16 disabled\n")
     + return(NULL)
     + }
     + writeBin(0:65535L, tmp, size=2)
     + m <- mmap(tmp, uint16()) # unsigned 2 byte integers
     + if( !all(m[] == 0:65535L) )
     + stop("m[] == 0:65535L")
     +
     + # test replacement
     + m[] <- 65535L
     + if( !all(m[] == 65535L))
     + stop("m[] == 65535L")
     + munmap(m)
     + cat("OK\n")
     + }
     >
     >
     >
     >
     > #### int24() ####
     > test.int24 <- function(on=TRUE) {
     + cat("checking test.int24...")
     + if( !isTRUE(on)) {
     + cat("test.int24 disabled\n")
     + return(NULL)
     + }
     + ints <- as.integer(seq(-8388607L,8388607L,length.out=11))
     + writeBin(rep(as.raw(0),33), tmp)
     + m <- mmap(tmp, int24()) # signed 3 byte integers
     + m[] <- ints
     + if( !all(m[] == ints) )
     + stop("m[] == ints")
     + munmap(m)
     + cat("OK\n")
     + }
     >
     >
     >
     >
     > #### uint24() ####
     > test.uint24 <- function(on=TRUE) {
     + cat("checking test.uint24...")
     + if( !isTRUE(on)) {
     + cat("test.uint24 disabled\n")
     + return(NULL)
     + }
     + ints <- as.integer(seq(0,16777215L,length.out=100))
     + writeBin(rep(as.raw(0),300), tmp)
     + m <- mmap(tmp, uint24()) # signed 3 byte integers
     + m[] <- ints
     + if( !all(m[] == ints) )
     + stop("m[] == ints")
     + munmap(m)
     + cat("OK\n")
     + }
     >
     >
     >
     >
     > #### int32() ####
     > test.int32 <- function(on=TRUE) {
     + cat("checking test.int32...")
     + if( !isTRUE(on)) {
     + cat("test.int32 disabled\n")
     + return(NULL)
     + }
     + writeBin(-1e6:1e6L, tmp, size=4)
     + m <- mmap(tmp, int32()) # unsigned 2 byte integers
     + if( !all(m[] == -1e6:1e6L) )
     + stop("m[] == -1e6:1e6L")
     +
     + # test replacement
     + m[] <- .Machine$integer.max
     + if( !all(m[] == .Machine$integer.max))
     + stop("m[] == .Machine$integer.max")
     + munmap(m)
     + cat("OK\n")
     + }
     >
     >
     >
     >
     > #### int64() ####
     > test.int64 <- function(on=TRUE) {
     + cat("checking test.int64...")
     + if( !isTRUE(on)) {
     + cat("test.int32 disabled\n")
     + return(NULL)
     + }
     + writeBin(0.0, tmp)
     + m <- mmap(tmp, int64()) # signed 8 byte integers as doubles
     + m[] <- 2^40
     + if( !all(m[] == 2^40) )
     + stop("m[] == 2^40")
     + munmap(m)
     + cat("OK\n")
     + }
     >
     > test.int8()
     > test.uint8()
     > test.int16()
     > test.uint16()
     checking test.uint16...OK
     > test.int24()
     checking test.int24...Error in test.int24() : m[] == ints
     Execution halted
Flavor: r-patched-solaris-sparc