CRAN Package Check Results for Package distr

Last updated on 2023-12-11 11:53:29 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.9.2 39.53 178.71 218.24 ERROR
r-devel-linux-x86_64-debian-gcc 2.9.2 33.58 132.22 165.80 ERROR
r-devel-linux-x86_64-fedora-clang 2.9.2 ERROR
r-devel-linux-x86_64-fedora-gcc 2.9.2 264.96 ERROR
r-devel-windows-x86_64 2.9.2 34.00 175.00 209.00 ERROR
r-patched-linux-x86_64 2.9.2 42.09 247.41 289.50 OK
r-release-linux-x86_64 2.9.2 33.30 248.49 281.79 OK
r-release-macos-arm64 2.9.2 91.00 OK
r-release-macos-x86_64 2.9.2 314.00 OK
r-release-windows-x86_64 2.9.2 43.00 308.00 351.00 OK
r-oldrel-macos-arm64 2.9.2 95.00 OK
r-oldrel-macos-x86_64 2.9.2 115.00 OK
r-oldrel-windows-x86_64 2.9.2 47.00 291.00 338.00 OK

Check Details

Version: 2.9.2
Check: Rd \usage sections
Result: NOTE Assignments in \usage in Rd file 'internalGenerics.Rd': x <- samplesize(object, value) Documented arguments not in \usage in Rd file 'internals.Rd': ‘DClass’ Objects in \usage without \alias in Rd file 'internals.Rd': ‘.consolidategaps’ ‘.List’ Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter ‘Writing R documentation files’ 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-devel-windows-x86_64

Version: 2.9.2
Check: examples
Result: ERROR Running examples in ‘distr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Binom-class > ### Title: Class "Binom" > ### Aliases: Binom-class Binom initialize,Binom-method > ### Keywords: distribution > > ### ** Examples > > B <- Binom(prob=0.5,size=1) # B is a binomial distribution with prob=0.5 and size=1. > r(B)(1) # # one random number generated from this distribution, e.g. 1 [1] 0 > d(B)(1) # Density of this distribution is 0.5 for x=1. [1] 0.5 > p(B)(0.4) # Probability that x<0.4 is 0.5. [1] 0.5 > q(B)(.1) # x=0 is the smallest value x such that p(B)(x)>=0.1. [1] 0 > ## in RStudio or Jupyter IRKernel, use q.l(.)(.) instead of q(.)(.) > size(B) # size of this distribution is 1. [1] 1 > size(B) <- 2 # size of this distribution is now 2. > C <- Binom(prob = 0.5, size = 1) # C is a binomial distribution with prob=0.5 and size=1. > D <- Binom(prob = 0.6, size = 1) # D is a binomial distribution with prob=0.6 and size=1. > E <- B + C # E is a binomial distribution with prob=0.5 and size=3. > F <- B + D # F is an object of class LatticeDistribution. Warning in .local(.Object, ...) : you have to specify slot r at least Error in h(simpleError(msg, call)) : error in evaluating the argument 'object' in selecting a method for function 'prob': unable to find an inherited method for function ‘r’ for signature ‘object = "numeric"’ Calls: + ... initialize -> initialize -> .local -> table -> r -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.9.2
Check: examples
Result: ERROR Running examples in ‘distr-Ex.R’ failed The error most likely occurred in: > ### Name: Binom-class > ### Title: Class "Binom" > ### Aliases: Binom-class Binom initialize,Binom-method > ### Keywords: distribution > > ### ** Examples > > B <- Binom(prob=0.5,size=1) # B is a binomial distribution with prob=0.5 and size=1. > r(B)(1) # # one random number generated from this distribution, e.g. 1 [1] 0 > d(B)(1) # Density of this distribution is 0.5 for x=1. [1] 0.5 > p(B)(0.4) # Probability that x<0.4 is 0.5. [1] 0.5 > q(B)(.1) # x=0 is the smallest value x such that p(B)(x)>=0.1. [1] 0 > ## in RStudio or Jupyter IRKernel, use q.l(.)(.) instead of q(.)(.) > size(B) # size of this distribution is 1. [1] 1 > size(B) <- 2 # size of this distribution is now 2. > C <- Binom(prob = 0.5, size = 1) # C is a binomial distribution with prob=0.5 and size=1. > D <- Binom(prob = 0.6, size = 1) # D is a binomial distribution with prob=0.6 and size=1. > E <- B + C # E is a binomial distribution with prob=0.5 and size=3. > F <- B + D # F is an object of class LatticeDistribution. Warning in .local(.Object, ...) : you have to specify slot r at least Error in h(simpleError(msg, call)) : error in evaluating the argument 'object' in selecting a method for function 'prob': unable to find an inherited method for function ‘r’ for signature ‘object = "numeric"’ Calls: + ... initialize -> initialize -> .local -> table -> r -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64