CRAN Package Check Results for Package specificity

Last updated on 2018-06-17 19:50:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 2.10 48.42 50.52 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 1.99 36.73 38.72 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 56.96 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 54.61 NOTE
r-devel-windows-ix86+x86_64 0.1.1 7.00 57.00 64.00 NOTE
r-patched-linux-x86_64 0.1.1 2.26 43.93 46.19 ERROR
r-patched-solaris-x86 0.1.1 79.90 NOTE
r-release-linux-x86_64 0.1.1 2.27 44.97 47.24 ERROR
r-release-windows-ix86+x86_64 0.1.1 10.00 56.00 66.00 NOTE
r-release-osx-x86_64 0.1.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1.1 5.00 74.00 79.00 NOTE
r-oldrel-osx-x86_64 0.1.1 NOTE

Check Details

Version: 0.1.1
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     print.summary.specificity summary.specificity
    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-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: 0.1.1
Check: R code for possible problems
Result: NOTE
    randomCorrelations: no visible global function definition for ‘cor’
    specGlm : <anonymous>: no visible global function definition for ‘coef’
    specLm : <anonymous>: no visible global function definition for ‘coef’
    Undefined global functions or variables:
     coef cor
    Consider adding
     importFrom("stats", "coef", "cor")
    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: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘specificity-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: specificityLm, specificityEta2, specificityGlm
    > ### Title: Specificity of personality trait-outcome associations
    > ### Aliases: specificity-package specificityLm specificityEta2
    > ### specificityGlm specificity dum scramble specEta2 specGlm specLm
    > ### print.summary.specificity summary.specificity
    >
    > ### ** Examples
    >
    > # Create random data.frame
    > data = as.data.frame(matrix(ncol=63, nrow=100, sample(1:5, size=6300, replace=TRUE)))
    > colnames(data) = c(paste("Per", 1:60, sep=""), c("Outcome", "Covar1", "Covar2"))
    >
    > # Make the Outcome categorical
    > data$OutcomeCat = as.factor(data$Outcome)
    >
    > # Create Keys
    > keyWithNames <- list(start=1, end=60, scale=rep(1:5, each=12), names=c("N","E","O","A","C"))
    > keyWithoutNames <- list(start=1, end=60, scale = rep(1:5, each=12))
    >
    > # Run analyses
    > resultLm <- specificityLm(scale(.allTraits) ~ scale(Outcome) + Covar1 + Covar2,
    + Data=data, Key = keyWithNames, R=100)
    > resultEta2 <- specificityEta2(.allTraits ~ OutcomeCat + Covar1 + Covar2,
    + Data=data, Key = keyWithNames, R=100)
    > resultGlm <- specificityGlm(Outcome ~ .allTraits + Covar1 + Covar2,
    + Data=data, Family="gaussian", Key = keyWithoutNames, R=100)
    >
    > # See results
    > summary(resultLm)
     Length Class Mode
    observed 5 -none- list
    random 5 -none- list
    call 5 -none- call
    key 4 -none- list
    nsims 1 -none- numeric
    time 5 proc_time numeric
    > summary(resultEta2)$true.results
    Error in summary(resultEta2)$true.results :
     $ operator is invalid for atomic vectors
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64