CRAN Package Check Results for Package MigClim

Last updated on 2019-09-23 20:47:38 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6 11.99 70.87 82.86 NOTE
r-devel-linux-x86_64-debian-gcc 1.6 9.05 54.78 63.83 WARN
r-devel-linux-x86_64-fedora-clang 1.6 99.52 NOTE
r-devel-linux-x86_64-fedora-gcc 1.6 98.90 WARN
r-devel-windows-ix86+x86_64 1.6 31.00 131.00 162.00 NOTE
r-patched-linux-x86_64 1.6 8.95 69.53 78.48 WARN
r-patched-solaris-x86 1.6 145.10 NOTE
r-release-linux-x86_64 1.6 9.24 70.22 79.46 WARN
r-release-windows-ix86+x86_64 1.6 37.00 139.00 176.00 NOTE
r-release-osx-x86_64 1.6 NOTE
r-oldrel-windows-ix86+x86_64 1.6 16.00 101.00 117.00 NOTE
r-oldrel-osx-x86_64 1.6 NOTE

Check Details

Version: 1.6
Check: dependencies in R code
Result: NOTE
    Packages in Depends field not imported from:
     'SDMTools' 'raster'
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
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-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.6
Check: R code for possible problems
Result: NOTE
    MigClim.genClust: no visible global function definition for 'raster'
    MigClim.migrate: no visible global function definition for 'raster'
    MigClim.migrate: no visible global function definition for
     'dataframe2asc'
    MigClim.migrate: no visible global function definition for
     'writeRaster'
    MigClim.migrate: no visible global function definition for 'cellStats'
    MigClim.migrate: no visible global function definition for 'read.table'
    MigClim.migrate: no visible global function definition for
     'write.table'
    MigClim.plot: no visible global function definition for 'raster'
    MigClim.plot: no visible global function definition for 'rainbow'
    MigClim.plot: no visible global function definition for 'jpeg'
    MigClim.plot: no visible global function definition for 'ymax'
    MigClim.plot: no visible global function definition for 'ymin'
    MigClim.plot: no visible global function definition for 'xmax'
    MigClim.plot: no visible global function definition for 'xmin'
    MigClim.plot: no visible global function definition for 'image'
    MigClim.plot: no visible global function definition for 'dev.off'
    MigClim.plot: no visible global function definition for 'png'
    MigClim.plot: no visible global function definition for 'dev.new'
    MigClim.plot: no visible global function definition for 'plot'
    Undefined global functions or variables:
     cellStats dataframe2asc dev.new dev.off image jpeg plot png rainbow
     raster read.table write.table writeRaster xmax xmin ymax ymin
    Consider adding
     importFrom("grDevices", "dev.new", "dev.off", "jpeg", "png", "rainbow")
     importFrom("graphics", "image", "plot")
     importFrom("utils", "read.table", "write.table")
    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-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.6
Check: compiled code
Result: NOTE
    File 'MigClim/libs/MigClim.so':
     Found 'rand', possibly from 'rand' (C)
     Objects: 'genclust.o', 'migrate.o', 'src_cell.o', 'validate.o'
     Found 'srand', possibly from 'srand' (C)
     Objects: 'genclust.o', 'migrate.o'
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See 'Writing portable packages' 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-x86, r-release-linux-x86_64

Version: 1.6
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     'MigClimTest'
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

Version: 1.6
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     migrate.c:179:30: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 1 and 128 [-Wformat-overflow=]
     migrate.c:186:26: warning: ‘.asc’ directive writing 4 bytes into a region of size between 1 and 128 [-Wformat-overflow=]
     migrate.c:199:28: warning: ‘.asc’ directive writing 4 bytes into a region of size between 1 and 128 [-Wformat-overflow=]
     migrate.c:286:27: warning: ‘%s’ directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=]
     migrate.c:312:29: warning: ‘%d’ directive writing between 1 and 8 bytes into a region of size between 1 and 128 [-Wformat-overflow=]
     migrate.c:559:31: warning: ‘%s’ directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=]
     migrate.c:595:27: warning: ‘%s’ directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=]
     migrate.c:603:27: warning: ‘%s’ directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=]
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.6
Check: compiled code
Result: NOTE
    File ‘MigClim/libs/MigClim.so’:
     Found ‘rand’, possibly from ‘rand’ (C)
     Objects: ‘genclust.o’, ‘migrate.o’, ‘src_cell.o’, ‘validate.o’
     Found ‘srand’, possibly from ‘srand’ (C)
     Objects: ‘genclust.o’, ‘migrate.o’
    File ‘MigClim/libs/MigClim.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.6
Check: compiled code
Result: NOTE
    File 'MigClim/libs/i386/MigClim.dll':
     Found 'rand', possibly from 'rand' (C)
     Objects: 'genclust.o', 'migrate.o', 'src_cell.o', 'validate.o'
     Found 'srand', possibly from 'srand' (C)
     Objects: 'genclust.o', 'migrate.o'
    File 'MigClim/libs/x64/MigClim.dll':
     Found 'rand', possibly from 'rand' (C)
     Objects: 'genclust.o', 'migrate.o', 'src_cell.o', 'validate.o'
     Found 'srand', possibly from 'srand' (C)
     Objects: 'genclust.o', 'migrate.o'
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See 'Writing portable packages' in the 'Writing R Extensions' manual.
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.6
Check: compiled code
Result: NOTE
    File ‘MigClim/libs/MigClim.so’:
     Found ‘_rand’, possibly from ‘rand’ (C)
     Objects: ‘genclust.o’, ‘migrate.o’, ‘src_cell.o’, ‘validate.o’
     Found ‘_srand’, possibly from ‘srand’ (C)
     Objects: ‘genclust.o’, ‘migrate.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64