CRAN Package Check Results for Package HistData

Last updated on 2014-04-23 12:48:19.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7-3 1.11 12.37 13.48 OK
r-devel-linux-x86_64-debian-gcc 0.7-3 1.13 12.30 13.44 OK
r-devel-linux-x86_64-fedora-clang 0.7-3 27.74 OK
r-devel-linux-x86_64-fedora-gcc 0.7-3 26.99 OK
r-devel-osx-x86_64-clang 0.7-3 17.76 ERROR
r-devel-osx-x86_64-gcc 0.7-3 ERROR
r-devel-windows-ix86+x86_64 0.7-3 4.00 23.00 27.00 OK
r-patched-linux-x86_64 0.7-3 1.18 12.70 13.88 OK
r-patched-solaris-sparc 0.7-3 160.90 OK
r-patched-solaris-x86 0.7-3 20.00 ERROR
r-release-linux-ix86 0.7-3 2.00 23.00 25.00 OK
r-release-linux-x86_64 0.7-3 1.21 7.22 8.44 ERROR
r-release-osx-x86_64-mavericks 0.7-3 WARN
r-release-windows-ix86+x86_64 0.7-3 4.00 23.00 27.00 OK
r-oldrel-windows-ix86+x86_64 0.7-3 4.00 24.00 28.00 OK

Check Details

Version: 0.7-3
Check: examples
Result: ERROR
    Running examples in ‘HistData-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Jevons
    > ### Title: W. Stanley Jevons' data on numerical discrimination
    > ### Aliases: Jevons
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > data(Jevons)
    > # show as tables
    > xtabs(frequency ~ estimated+actual, data=Jevons)
     actual
    estimated 3 4 5 6 7 8 9 10 11 12 13 14 15
     3 23 0 0 0 0 0 0 0 0 0 0 0 0
     4 0 65 0 0 0 0 0 0 0 0 0 0 0
     5 0 0 102 7 0 0 0 0 0 0 0 0 0
     6 0 0 4 120 18 0 0 0 0 0 0 0 0
     7 0 0 1 20 113 30 2 0 0 0 0 0 0
     8 0 0 0 0 25 76 24 6 1 0 0 0 0
     9 0 0 0 0 0 28 76 37 11 1 0 0 0
     10 0 0 0 0 0 1 18 46 19 4 0 0 0
     11 0 0 0 0 0 0 2 16 26 17 7 2 0
     12 0 0 0 0 0 0 0 2 12 19 11 3 2
     13 0 0 0 0 0 0 0 0 0 3 6 3 1
     14 0 0 0 0 0 0 0 0 0 1 1 4 6
     15 0 0 0 0 0 0 0 0 0 0 1 2 2
    > xtabs(frequency ~ error+actual, data=Jevons)
     actual
    error 3 4 5 6 7 8 9 10 11 12 13 14 15
     -2 0 0 1 0 0 1 2 2 0 1 1 0 0
     -1 0 0 4 20 25 28 18 16 12 3 1 2 0
     0 23 65 102 120 113 76 76 46 26 19 6 4 2
     1 0 0 0 7 18 30 24 37 19 17 11 3 6
     2 0 0 0 0 0 0 2 6 11 4 7 3 1
     3 0 0 0 0 0 0 0 0 1 1 0 2 2
    >
    > # show as sunflowerplot with regression line
    > with(Jevons, sunflowerplot(actual, estimated, frequency,
    + main="Jevons data on numerical estimation"))
    > Jmod <-lm(estimated ~ actual, data=Jevons, weights=frequency)
    > abline(Jmod)
    >
    > # show as balloonplots
    > if (require(gplots)) {
    +
    + with(Jevons, balloonplot(actual, estimated, frequency, xlab="actual", ylab="estimated",
    + main="Jevons data on numerical estimation\nBubble area proportional to frequency",
    + text.size=0.8))
    +
    + with(Jevons, balloonplot(actual, error, frequency, xlab="actual", ylab="error",
    + main="Jevons data on numerical estimation: Errors\nBubble area proportional to frequency",
    + text.size=0.8))
    + }
    Loading required package: gplots
    KernSmooth 2.23 loaded
    Copyright M. P. Wand 1997-2009
    
    Attaching package: ‘gplots’
    
    The following object is masked from ‘package:stats’:
    
     lowess
    
    >
    > # plot average error
    > if(require(reshape)) {
    + unJevons <- untable(Jevons, Jevons$frequency)
    + str(unJevons)
    +
    + mean_error <- function(df) mean(df$error, na.rm=TRUE)
    + Jmean <- ddply(unJevons, .(actual), mean_error)
    + with(Jmean, plot(actual, V1, ylab='Mean error', xlab='Actual number', type='b', main='Jevons data'))
    + abline(h=0)
    + }
    Loading required package: reshape
    'data.frame': 1027 obs. of 4 variables:
     $ actual : num 3 3 3 3 3 3 3 3 3 3 ...
     $ estimated: num 3 3 3 3 3 3 3 3 3 3 ...
     $ frequency: num 23 23 23 23 23 23 23 23 23 23 ...
     $ error : num 0 0 0 0 0 0 0 0 0 0 ...
    Error: could not find function "ddply"
    Execution halted
Flavors: r-devel-osx-x86_64-clang, r-patched-solaris-x86, r-release-linux-x86_64

Version: 0.7-3
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     ‘ggplot2’ ‘car’ ‘heplots’
Flavor: r-devel-osx-x86_64-gcc

Version: 0.7-3
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: ‘alr3’
Flavor: r-devel-osx-x86_64-gcc

Version: 0.7-3
Check: examples
Result: ERROR
    Running examples in ‘HistData-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Bowley
    > ### Title: Bowley's data on values of British and Irish trade, 1855-1899
    > ### Aliases: Bowley
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > data(Bowley)
    >
    > # plot the data
    > with(Bowley,plot(Year, Value, type='b',
    + ylab="Value of British and Irish Exports",
    + main="Bowley's example of the method of smoothing curves"))
    >
    > # find moving averages-- use center alignment (requires width=ODD)
    > require(gtools, warn.conflicts=FALSE)
    Loading required package: gtools
    > mav3<-running(Bowley$Value, width=3, align="center")
    > mav5<-running(Bowley$Value, width=5, align="center")
    > mav9<-running(Bowley$Value, width=9, align="center")
    > lines(Bowley$Year[2:44], mav3, col='blue', lty=2)
    > lines(Bowley$Year[3:43], mav5, col='green3', lty=3)
    > lines(Bowley$Year[5:41], mav9, col='brown', lty=4)
    >
    > # add lowess smooth
    > lines(lowess(Bowley), col='red', lwd=2)
    >
    > require(ggplot2, warn.conflicts=FALSE)
    Loading required package: ggplot2
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called ‘ggplot2’
    > qplot(Year,Value, data=Bowley)+geom_smooth()
    Error: could not find function "qplot"
    Execution halted
Flavor: r-devel-osx-x86_64-gcc

Version: 0.7-3
Check: PDF version of manual
Result: WARNING
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
    LaTeX errors found:
    ! LaTeX Error: File `upquote.sty' not found.
    
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: sty)
    
    cc52ce3/Rd2.tex:8: ==> Fatal error occurred, no output PDF file produced!
Flavor: r-release-osx-x86_64-mavericks