CRAN Package Check Results for Package knncat

Last updated on 2020-03-03 15:49:53 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.2 7.91 19.85 27.76 WARN
r-devel-linux-x86_64-debian-gcc 1.2.2 5.40 15.73 21.13 WARN
r-devel-linux-x86_64-fedora-clang 1.2.2 35.34 NOTE
r-devel-linux-x86_64-fedora-gcc 1.2.2 32.86 WARN
r-devel-windows-ix86+x86_64 1.2.2 25.00 40.00 65.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 1.2.2 25.00 43.00 68.00 NOTE
r-patched-linux-x86_64 1.2.2 5.83 18.07 23.90 NOTE
r-patched-solaris-x86 1.2.2 49.10 NOTE
r-release-linux-x86_64 1.2.2 5.63 17.89 23.52 NOTE
r-release-windows-ix86+x86_64 1.2.2 23.00 60.00 83.00 NOTE
r-release-osx-x86_64 1.2.2 NOTE
r-oldrel-windows-ix86+x86_64 1.2.2 21.00 35.00 56.00 NOTE
r-oldrel-osx-x86_64 1.2.2 NOTE

Additional issues

LTO

Check Details

Version: 1.2.2
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     matrix.c:827:1: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
     matrix.c:833:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
     matrix.c:843:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
     matrix.c:979:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
     matrix.c:1007:1: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
     matrix.c:1051:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
     matrix.c:1101:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
     matrix.c:1155:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.2
Check: R code for possible problems
Result: NOTE
    knncat: no visible global function definition for 'quantile'
    plot.knncat: no visible global function definition for 'plot'
    plot.knncat: no visible global function definition for 'box'
    plot.knncat: no visible global function definition for 'axis'
    plot.knncat: no visible global function definition for 'text'
    Undefined global functions or variables:
     axis box plot quantile text
    Consider adding
     importFrom("graphics", "axis", "box", "plot", "text")
     importFrom("stats", "quantile")
    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-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.2.2
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     matrix.c:827:1: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
     matrix.c:833:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
     matrix.c:843:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
     matrix.c:979:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
     matrix.c:1007:1: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
     matrix.c:1051:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
     matrix.c:1101:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
     matrix.c:1155:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc

Version: 1.2.2
Check: compiled code
Result: NOTE
    File ‘knncat/libs/knncat.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    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