CRAN Package Check Results for Package BayHap

Last updated on 2020-01-15 08:52:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 8.19 38.20 46.39 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.1 5.05 28.51 33.56 WARN
r-devel-linux-x86_64-fedora-clang 1.0.1 54.62 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.1 54.25 WARN
r-devel-windows-ix86+x86_64 1.0.1 20.00 84.00 104.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 1.0.1 12.00 71.00 83.00 WARN
r-patched-linux-x86_64 1.0.1 6.12 34.07 40.19 WARN
r-patched-solaris-x86 1.0.1 78.70 NOTE
r-release-linux-x86_64 1.0.1 6.18 34.70 40.88 WARN
r-release-windows-ix86+x86_64 1.0.1 11.00 86.00 97.00 NOTE
r-release-osx-x86_64 1.0.1 NOTE
r-oldrel-windows-ix86+x86_64 1.0.1 10.00 60.00 70.00 NOTE
r-oldrel-osx-x86_64 1.0.1 NOTE

Check Details

Version: 1.0.1
Check: dependencies in R code
Result: NOTE
    Unexported object imported by a ':::' call: 'boa:::boa.getparms'
     See the note in ?`:::` about the use of this operator.
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-devel-windows-ix86+x86_64-gcc8, 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.0.1
Check: R code for possible problems
Result: NOTE
    Found an obsolete/platform-specific call in the following functions:
     'plotACF' 'plotDensity' 'plotRmean' 'plotTrace'
    Found the platform-specific device:
     'x11'
    dev.new() is the preferred way to open a new device, in the unlikely
    event one is needed.
    bayhapReg: no visible global function definition for 'terms'
    bayhapReg: no visible global function definition for 'model.response'
    bayhapReg: no visible global function definition for 'model.frame'
    bayhapReg: no visible global function definition for 'var'
    boa.plot.acf.ad: no visible global function definition for 'acf'
    boa.plot.acf.ad: no visible global function definition for 'plot'
    boa.plot.acf.ad: no visible global function definition for 'abline'
    boa.plot.acf.ad: no visible global function definition for 'par'
    boa.plot.acf.ad: no visible global function definition for 'legend'
    correl: no visible global function definition for 'cor'
    genotype: no visible global function definition for 'na.omit'
    haplo.prior: no visible global function definition for 'qnorm'
    import: no visible global function definition for 'read.table'
    plotACF: no visible global function definition for 'x11'
    plotACF: no visible global function definition for 'par'
    plotDensity: no visible global function definition for 'x11'
    plotDensity: no visible global function definition for 'par'
    plotRmean: no visible global function definition for 'x11'
    plotRmean: no visible global function definition for 'par'
    plotTrace: no visible global function definition for 'x11'
    plotTrace: no visible global function definition for 'par'
    print.freq: no visible binding for global variable 'sd'
    print.freq: no visible binding for global variable 'quantile'
    print.reg: no visible global function definition for 'sd'
    print.reg: no visible binding for global variable 'quantile'
    print.reg: no visible global function definition for 'quantile'
    Undefined global functions or variables:
     abline acf cor legend model.frame model.response na.omit par plot
     qnorm quantile read.table sd terms var x11
    Consider adding
     importFrom("grDevices", "x11")
     importFrom("graphics", "abline", "legend", "par", "plot")
     importFrom("stats", "acf", "cor", "model.frame", "model.response",
     "na.omit", "qnorm", "quantile", "sd", "terms", "var")
     importFrom("utils", "read.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-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 1.0.1
Check: Rd line widths
Result: NOTE
    Rd file 'BayHap-internal.Rd':
     \usage lines wider than 90 characters:
     expectedGenotypes(x, alleles = allele.names(x), ploidy = 2, sort = TRUE, haplotype = FALSE)
    
    These lines will be truncated in the PDF manual.
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-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Check: compiled code
Result: NOTE
    File 'BayHap/libs/BayHap.so':
     Found 'rand', possibly from 'rand' (C)
     Object: 'mcmc.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'mcmc.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.0.1
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     'outhaplo140120181805397YDGABKNRWJ.txt'
     'outhaplo140120181808326XNBMRYFAHT.txt'
     'outhaplo140120181811758LOATCFJWUY.txt'
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     ‘outhaplo140120170320911YDGABKNRWJ.txt’
     ‘outhaplo140120170323955XNBMRYFAHT.txt’
     ‘outhaplo140120170327301LOATCFJWUY.txt’
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: compiled code
Result: NOTE
    File ‘BayHap/libs/BayHap.so’:
     Found ‘rand’, possibly from ‘rand’ (C)
     Object: ‘mcmc.o’
     Found ‘srand’, possibly from ‘srand’ (C)
     Object: ‘mcmc.o’
    File ‘BayHap/libs/BayHap.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.0.1
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     ‘outhaplo040120062750269YDGABKNRWJ.txt’
     ‘outhaplo040120062753474XNBMRYFAHT.txt’
     ‘outhaplo040120062757512LOATCFJWUY.txt’
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     ‘outhaplo050120083600694YDGABKNRWJ.txt’
     ‘outhaplo050120083603713XNBMRYFAHT.txt’
     ‘outhaplo050120083608344LOATCFJWUY.txt’
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: R code for possible problems
Result: NOTE
    bayhapReg: no visible global function definition for 'terms'
    bayhapReg: no visible global function definition for 'model.response'
    bayhapReg: no visible global function definition for 'model.frame'
    bayhapReg: no visible global function definition for 'var'
    boa.plot.acf.ad: no visible global function definition for 'acf'
    boa.plot.acf.ad: no visible global function definition for 'plot'
    boa.plot.acf.ad: no visible global function definition for 'abline'
    boa.plot.acf.ad: no visible global function definition for 'par'
    boa.plot.acf.ad: no visible global function definition for 'legend'
    correl: no visible global function definition for 'cor'
    genotype: no visible global function definition for 'na.omit'
    haplo.prior: no visible global function definition for 'qnorm'
    import: no visible global function definition for 'read.table'
    plotACF: no visible global function definition for 'x11'
    plotACF: no visible global function definition for 'par'
    plotDensity: no visible global function definition for 'x11'
    plotDensity: no visible global function definition for 'par'
    plotRmean: no visible global function definition for 'x11'
    plotRmean: no visible global function definition for 'par'
    plotTrace: no visible global function definition for 'x11'
    plotTrace: no visible global function definition for 'par'
    print.freq: no visible binding for global variable 'sd'
    print.freq: no visible binding for global variable 'quantile'
    print.reg: no visible global function definition for 'sd'
    print.reg: no visible binding for global variable 'quantile'
    print.reg: no visible global function definition for 'quantile'
    Undefined global functions or variables:
     abline acf cor legend model.frame model.response na.omit par plot
     qnorm quantile read.table sd terms var x11
    Consider adding
     importFrom("grDevices", "x11")
     importFrom("graphics", "abline", "legend", "par", "plot")
     importFrom("stats", "acf", "cor", "model.frame", "model.response",
     "na.omit", "qnorm", "quantile", "sd", "terms", "var")
     importFrom("utils", "read.table")
    to your NAMESPACE file.
Flavors: r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.0.1
Check: compiled code
Result: NOTE
    File 'BayHap/libs/i386/BayHap.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'mcmc.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'mcmc.o'
    File 'BayHap/libs/x64/BayHap.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'mcmc.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'mcmc.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-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     mcmc.c:337:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
Flavors: r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Check: compiled code
Result: NOTE
    File ‘BayHap/libs/BayHap.so’:
     Found ‘_rand’, possibly from ‘rand’ (C)
     Object: ‘mcmc.o’
     Found ‘_srand’, possibly from ‘srand’ (C)
     Object: ‘mcmc.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