CRAN Package Check Results for Package Bessel

Last updated on 2017-01-23 12:50:10.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5-5 2.95 31.41 34.36 NOTE
r-devel-linux-x86_64-debian-gcc 0.5-5 3.71 30.18 33.89 NOTE
r-devel-linux-x86_64-fedora-clang 0.5-5 64.01 NOTE --no-stop-on-test-error
r-devel-linux-x86_64-fedora-gcc 0.5-5 71.88 NOTE --no-stop-on-test-error
r-devel-macos-x86_64-clang 0.5-5 51.86 NOTE --no-stop-on-test-error
r-devel-windows-ix86+x86_64 0.5-5 14.00 115.00 129.00 NOTE
r-patched-linux-x86_64 0.5-5 3.54 28.30 31.84 NOTE
r-patched-solaris-sparc 0.5-5 310.20 ERROR
r-patched-solaris-x86 0.5-5 73.70 NOTE
r-release-linux-x86_64 0.5-5 3.51 28.21 31.72 NOTE
r-release-osx-x86_64-mavericks 0.5-5 NOTE
r-release-windows-ix86+x86_64 0.5-5 24.00 127.00 151.00 NOTE
r-oldrel-windows-ix86+x86_64 0.5-5 25.00 149.00 174.00 NOTE

Check Details

Version: 0.5-5
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: ‘Rmpfr’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.5-5
Check: R code for possible problems
Result: NOTE
    bI: no visible global function definition for ‘is’
    bI: no visible global function definition for ‘mpfr’
    bI: no visible binding for global variable ‘slot’
    bI: no visible global function definition for ‘as’
    Undefined global functions or variables:
     as is mpfr slot
    Consider adding
     importFrom("methods", "as", "is", "slot")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 0.5-5
Flags: --no-stop-on-test-error
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: ‘Rmpfr’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 0.5-5
Flags: --no-stop-on-test-error
Check: R code for possible problems
Result: NOTE
    bI: no visible global function definition for ‘is’
    bI: no visible global function definition for ‘mpfr’
    bI: no visible binding for global variable ‘slot’
    bI: no visible global function definition for ‘as’
    Undefined global functions or variables:
     as is mpfr slot
    Consider adding
     importFrom("methods", "as", "is", "slot")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 0.5-5
Check: tests
Result: ERROR
     Running ‘Airy-tsts.R’
    Running the tests in ‘tests/Airy-tsts.R’ failed.
    Complete output:
     > library(Bessel)
     Loading required package: Rmpfr
     Loading required package: gmp
    
     Attaching package: 'gmp'
    
     The following objects are masked from 'package:base':
    
     %*%, apply, crossprod, matrix, tcrossprod
    
     C code of R package 'Rmpfr': GMP using 32 bits per limb
    
    
     Attaching package: 'Rmpfr'
    
     The following objects are masked from 'package:stats':
    
     dbinom, dnorm, dpois, pnorm
    
     The following objects are masked from 'package:base':
    
     cbind, pmax, pmin, rbind
    
     >
     > ### Replicate some testing "ideas" from zqcai.f (TOMS 644 test program)
     >
     > ## Generates airy functions and their derivatives from zairy
     > ## and zbiry and checks them against the wronskian evaluation in the
     > ## region -pi/3 <= arg(z) <= pi/3:
     > ##
     > ## Ai(z)*Bi'(z)-Ai'(z)*Bi(z) = 1/pi.
     > ##
     > ## in the remainder of the cut plane, the identities
     > ##
     > ## Ai(z) = sqrt(-z)*( J(-1/3,zr) + J(1/3,zr) )/3
     > ##
     > ## Ai'(z) = z*( J(-2/3,zr) - J(2/3,zr) )/3
     > ##
     > ## Bi(z) = i* sqrt(-z/3) *( c1* H(1/3,1,zr) - c2* H(1/3,2,zr) )/2
     > ##
     > ## Bi'(z) = i*(-z)/sqrt(3)*( c2* H(2/3,1,zr) - c1* H(2/3,2,zr) )/2
     > ##
     > ## are checked where zr = (2/3)(-z)^(3/2) with
     > ## c1 = exp(pi*i/6),
     > ## c2 = conjg(c1) and i**2 = -1.
     >
     > allEQ <- function(a,b) all.equal(a,b, tol = 1e-12)
     >
     > ### Wronskian Ai(z)*Bi'(z) - Ai'(z)*Bi(z) == 1/pi ----------------
     > N <- 100
     > I.pi <- rep.int(1/pi + 0*1i, N)
     > c1 <- exp(pi * 1i/6) ## = sqrt(3)/2 + i/2
     > c2 <- Conj(c1)
     >
     > set.seed(101)
     > for(n in 1:50) {
     + cat(".")
     + z <- complex(re = rnorm(N),
     + im = rnorm(N))
     + ai <- AiryA(z)
     + dai <- AiryA(z, deriv=1)
     + bi <- AiryB(z)
     + dbi <- AiryB(z, deriv=1)
     + stopifnot(allEQ(ai * dbi - dai * bi, I.pi))
     +
     + ## The remaining checks are only valid in this z-plane "sector":
     + Lz <- abs(Arg(z)) > pi/3
     + z <- z[Lz]
     + ai <- ai[Lz]
     + dai <- dai[Lz]
     + bi <- bi[Lz]
     + dbi <- dbi[Lz]
     +
     + zr <- 2/3 * (-z)^(3/2)
     +
     + ## Ai(z) = sqrt(-z)*( J(-1/3,zr) + J(1/3,zr) )/3
     + ## Ai'(z) = z*( J(-2/3,zr) - J(2/3,zr) )/3
     +
     + if(FALSE) ## FIXME -- needs BesselJ() for *NEGATIVE* nu :
     + stopifnot(allEQ(ai, sqrt(-z)*(BesselJ(zr, -1/3) + BesselJ(zr, 1/3))/3),
     + allEQ(dai, z*(BesselJ(zr, -2/3) - BesselJ(zr, 2/3))/3))
     +
     + ## Bi(z) = i* sqrt(-z/3) *( c1* H(1/3,1,zr) - c2* H(1/3,2,zr) )/2
     + ## Bi'(z) = i*(-z)/sqrt(3)*( c2* H(2/3,1,zr) - c1* H(2/3,2,zr) )/2
     +
     + stopifnot(allEQ(bi, 1i*sqrt(-z/3)*
     + (c1*BesselH(1, zr, 1/3) - c2*BesselH(2, zr, 1/3))/2),
     + allEQ(dbi, -1i*z/sqrt(3)*
     + (c2*BesselH(1, zr, 2/3) - c1*BesselH(2, zr, 2/3))/2))
     +
     + }; cat("\n")
     .Error: allEQ(ai * dbi - dai * bi, I.pi) is not TRUE
     Execution halted
Flavor: r-patched-solaris-sparc

Version: 0.5-5
Check: R code for possible problems
Result: NOTE
    bI: no visible global function definition for 'mpfr'
Flavor: r-oldrel-windows-ix86+x86_64