CRAN Package Check Results for Package prototest

Last updated on 2023-03-23 03:53:29 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2 85.05 90.36 175.41 ERROR
r-devel-linux-x86_64-debian-gcc 1.2 69.26 81.30 150.56 OK
r-devel-linux-x86_64-fedora-clang 1.2 284.93 NOTE
r-devel-linux-x86_64-fedora-gcc 1.2 252.14 NOTE
r-patched-linux-x86_64 1.2 74.35 101.92 176.27 OK
r-release-linux-x86_64 1.2 71.64 102.09 173.73 OK
r-release-macos-arm64 1.2 59.00 OK
r-release-macos-x86_64 1.2 84.00 OK
r-release-windows-x86_64 1.2 76.00 168.00 244.00 OK
r-oldrel-macos-arm64 1.2 69.00 OK
r-oldrel-macos-x86_64 1.2 121.00 OK
r-oldrel-windows-ix86+x86_64 1.2 196.00 188.00 384.00 OK

Check Details

Version: 1.2
Check: examples
Result: ERROR
    Running examples in ‘prototest-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: prototest-package
    > ### Title: Inference on Prototypes from Clusters of Features
    > ### Aliases: prototest-package prototest
    >
    > ### ** Examples
    >
    > require (prototest)
    >
    > ### generate data
    > set.seed (12345)
    > n = 100
    > p = 80
    >
    > X = matrix (rnorm(n*p, 0, 1), ncol=p)
    >
    >
    > beta = rep(0, p)
    > beta[1:3] = 0.1 # three signal variables: number 1, 2, 3
    > signal = apply(X, 1, function(col){sum(beta*col)})
    > intercept = 3
    >
    > y = intercept + signal + rnorm (n, 0, 1)
    >
    > ### treat all columns as if in same group and test for signal
    >
    > # non-selective ELR test with nuisance intercept
    > elr = prototest.univariate (X, y, "ELR", selected.col=1:5)
    > # selective F test with nuisance intercept; non-sampling
    > f.test = prototest.univariate (X, y, "F", lambda=0.01, hr.iter=0)
    Error in .local(x, ...) : DLL requires the use of native symbols
    Calls: prototest.univariate ... FUN -> .local -> reduce -> reduce -> .local -> .Call
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2
Check: compiled code
Result: NOTE
    File ‘prototest/libs/prototest.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