CRAN Package Check Results for Package tis

Last updated on 2019-04-19 12:47:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.37.1 10.02 49.79 59.81 OK
r-devel-linux-x86_64-debian-gcc 1.37.1 7.57 38.25 45.82 OK
r-devel-linux-x86_64-fedora-clang 1.37.1 68.55 OK
r-devel-linux-x86_64-fedora-gcc 1.37.1 70.23 OK
r-devel-windows-ix86+x86_64 1.37.1 30.00 66.00 96.00 OK
r-patched-linux-x86_64 1.37.1 8.96 50.10 59.06 OK
r-patched-solaris-x86 1.37.1 86.50 OK
r-release-linux-x86_64 1.37.1 7.77 46.13 53.90 ERROR
r-release-windows-ix86+x86_64 1.37.1 21.00 85.00 106.00 OK
r-release-osx-x86_64 1.37.1 OK
r-oldrel-windows-ix86+x86_64 1.37.1 9.00 83.00 92.00 OK
r-oldrel-osx-x86_64 1.37.1 OK

Check Details

Version: 1.37.1
Check: examples
Result: ERROR
    Running examples in ‘tis-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: fortify.tis
    > ### Title: Fortify a tis object
    > ### Aliases: fortify.tis
    >
    > ### ** Examples
    >
    > if(require("ggplot2") && require("reshape")) {
    + # Examples of plotting tis series with ggplot2
    + require("datasets")
    + require("scales")
    +
    + # univariate example
    + num_discoveries <- as.tis(discoveries)
    + ggplot(data = fortify(num_discoveries, offset=0)) +
    + geom_line(aes(x=date, y=num_discoveries)) +
    + scale_x_date(breaks = date_breaks("10 years"), labels = date_format("%Y"))
    +
    + # multivariate example using the "melt trick"
    + Seatbelts.tis <- as.tis(Seatbelts[ , c("drivers", "front", "rear")])
    + Seatbelt.names <- c("Driver", "Front Seat Passenger", "Back Seat Passenger")
    + Seatbelts.df <- fortify(Seatbelts.tis, dfNames = Seatbelt.names,
    + timeName = "Time")
    + Seatbelts.dfm <- melt(Seatbelts.df, id.var = "Time", variable_name="type")
    + qplot( Time, value, data = Seatbelts.dfm, geom="line",
    + group=type, colour=type, linetype=type ) +
    + geom_vline(xintercept=as.numeric(as.Date("1983-01-31")),
    + colour="black", linetype="dashed") +
    + ylab("Monthly Road Casulties in the UK")
    + }
    Loading required package: ggplot2
    Loading required package: reshape
    Loading required package: scales
    Error: `data` must be a data frame, or other object coercible by `fortify()`, not an S3 object with class tis
    Execution halted
Flavor: r-release-linux-x86_64