CRAN Package Check Results for Package tidyquant

Last updated on 2021-01-16 08:51:01 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 11.77 227.30 239.07 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 9.44 159.48 168.92 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2 282.94 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.2 191.93 NOTE
r-devel-windows-ix86+x86_64 1.0.2 18.00 262.00 280.00 NOTE
r-patched-linux-x86_64 1.0.2 7.11 216.04 223.15 OK
r-patched-solaris-x86 1.0.2 361.00 NOTE
r-release-linux-x86_64 1.0.2 12.11 219.40 231.51 OK
r-release-macos-x86_64 1.0.2 NOTE
r-release-windows-ix86+x86_64 1.0.2 21.00 234.00 255.00 NOTE
r-oldrel-macos-x86_64 1.0.2 NOTE
r-oldrel-windows-ix86+x86_64 1.0.2 21.00 305.00 326.00 NOTE

Check Details

Version: 1.0.2
Check: examples
Result: ERROR
    Running examples in ‘tidyquant-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: coord_x_date
    > ### Title: Zoom in on plot regions using date ranges or date-time ranges
    > ### Aliases: coord_x_date coord_x_datetime
    >
    > ### ** Examples
    >
    > # Load libraries
    > library(tidyquant)
    > library(dplyr)
    
    Attaching package: ‘dplyr’
    
    The following objects are masked from ‘package:xts’:
    
     first, last
    
    The following objects are masked from ‘package:stats’:
    
     filter, lag
    
    The following objects are masked from ‘package:base’:
    
     intersect, setdiff, setequal, union
    
    > library(ggplot2)
    >
    > # coord_x_date
    > AAPL <- tq_get("AAPL", from = "2013-01-01", to = "2016-12-31")
    Warning: x = 'AAPL', get = 'stock.prices': Error in curl::curl_fetch_memory(query.srv, handle = h$ch): Timeout was reached: [query1.finance.yahoo.com] Failed to connect to query1.finance.yahoo.com port 443: Connection timed out
    
    > AAPL %>%
    + ggplot(aes(x = date, y = adjusted)) +
    + geom_line() + # Plot stock price
    + geom_ma(n = 50) + # Plot 50-day Moving Average
    + geom_ma(n = 200, color = "red") + # Plot 200-day Moving Average
    + # Zoom in
    + coord_x_date(xlim = c("2016-01-01", "2016-12-31"),
    + ylim = c(75, 125))
    Error: `data` must be a data frame, or other object coercible by `fortify()`, not a logical vector
    Backtrace:
     █
     1. ├─AAPL %>% ggplot(aes(x = date, y = adjusted))
     2. ├─ggplot2::ggplot(., aes(x = date, y = adjusted))
     3. └─ggplot2:::ggplot.default(., aes(x = date, y = adjusted))
     4. ├─ggplot2::fortify(data, ...)
     5. └─ggplot2:::fortify.default(data, ...)
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: package dependencies
Result: NOTE
    Imports includes 24 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.2
Check: installed package size
Result: NOTE
     installed size is 5.1Mb
     sub-directories of 1Mb or more:
     doc 4.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.2
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘janitor’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.0.2
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘Rblpapi’
Flavor: r-patched-solaris-x86