CRAN Package Check Results for Package distr

Last updated on 2025-03-16 00:49:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.9.7 34.87 207.34 242.21 OK
r-devel-linux-x86_64-debian-gcc 2.9.7 20.99 112.46 133.45 ERROR
r-devel-linux-x86_64-fedora-clang 2.9.7 299.08 OK
r-devel-linux-x86_64-fedora-gcc 2.9.7 292.34 OK
r-devel-macos-arm64 2.9.7 92.00 OK
r-devel-macos-x86_64 2.9.7 224.00 OK
r-devel-windows-x86_64 2.9.7 38.00 245.00 283.00 OK
r-patched-linux-x86_64 2.9.7 38.84 198.20 237.04 OK
r-release-linux-x86_64 2.9.7 31.15 193.62 224.77 OK
r-release-macos-arm64 2.9.7 70.00 OK
r-release-macos-x86_64 2.9.7 267.00 OK
r-release-windows-x86_64 2.9.7 34.00 243.00 277.00 OK
r-oldrel-macos-arm64 2.9.7 OK
r-oldrel-macos-x86_64 2.9.7 230.00 OK
r-oldrel-windows-x86_64 2.9.7 34.00 303.00 337.00 OK

Check Details

Version: 2.9.7
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: Cauchy-class > ### Title: Class "Cauchy" > ### Aliases: Cauchy-class Cauchy initialize,Cauchy-method > ### Keywords: distribution > > ### ** Examples > > C <- Cauchy(location = 1, scale = 1) # C is a Cauchy distribution with location=1 and scale=1. > r(C)(1) # one random number generated from this distribution, e.g. 4.104603 [1] 2.10252 > d(C)(1) # Density of this distribution is 0.3183099 for x=1. [1] 0.3183099 > p(C)(1) # Probability that x<1 is 0.5. [1] 0.5 > q(C)(.1) # Probability that x<-2.077684 is 0.1. [1] -2.077684 > ## in RStudio or Jupyter IRKernel, use q.l(.)(.) instead of q(.)(.) > location(C) # location of this distribution is 1. [1] 1 > location(C) <- 2 # location of this distribution is now 2. > is(C,"Td") # no [1] FALSE > C0 <- Cauchy() # standard, i.e. location = 0, scale = 1 > is(C0,"Td") # yes [1] TRUE > as(C0,"Td") Error in asMethod@generic : no applicable method for `@` applied to an object of class "function" Calls: as -> assign Execution halted Flavor: r-devel-linux-x86_64-debian-gcc