tidyquant
Tidy Quantitative Financial Analysis
Description
Bringing business and financial analysis to the 'tidyverse'. The 'tidyquant' package provides a convenient wrapper to various 'xts', 'zoo', 'quantmod', 'TTR' and 'PerformanceAnalytics' package functions and returns the objects in the tidy 'tibble' format. The main advantage is being able to use quantitative functions with the 'tidyverse' functions including 'purrr', 'dplyr', 'tidyr', 'ggplot2', 'lubridate', etc. See the 'tidyquant' website for more information, documentation and examples.
Downloads
13.4K
Last 30 days
1036th
48.4K
Last 90 days
211.1K
Last year
Trend: -22.4% (30d vs prior 30d)
38
Last 30 days
236
Last 90 days
516
Last year
Trend: -62.4% (30d vs prior 30d)
5
Last 7 days
24
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
package dependencies
Package required but not available: ‘timetk’ Packages suggested but not available for checking: 'alphavantager', 'janitor' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 21, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 11, 2026
examples
Running examples in ‘tidyquant-Ex.R’ failed The error most likely occurred in: > ### Name: tq_mutate > ### Title: Mutates quantitative data > ### Aliases: tq_mutate tq_mutate_ tq_mutate_xy tq_mutate_xy_ > ### tq_mutate_fun_options tq_transmute tq_ ...[truncated]... ort “DCOILWTICO”. cannot open the connection Error in tq_mutate_.default(data = data, select = lazyeval::expr_text(select), : data must be a tibble or data.frame object Calls: %>% -> tq_mutate -> tq_mutate_ -> tq_mutate_.default Execution halted
examples
Running examples in ‘tidyquant-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tq_mutate
> ### Title: Mutates quantitative data
> ### Aliases: tq_mutate tq_mutate_ tq_mutate_xy tq
...[truncated]...
ort “DCOILWTICO”.
cannot open the connection
Error in tq_mutate_.default(data = data, select = lazyeval::expr_text(select), :
data must be a tibble or data.frame object
Calls: %>% -> tq_mutate -> tq_mutate_ -> tq_mutate_.default
Execution halted
examples
Running examples in 'tidyquant-Ex.R' failed The error most likely occurred in: > ### Name: tq_mutate > ### Title: Mutates quantitative data > ### Aliases: tq_mutate tq_mutate_ tq_mutate_xy tq_mutate_xy_ > ### tq_mutate_fun_options tq_transmute tq_ ...[truncated]... ort "DCOILWTICO". cannot open the connection Error in tq_mutate_.default(data = data, select = lazyeval::expr_text(select), : data must be a tibble or data.frame object Calls: %>% -> tq_mutate -> tq_mutate_ -> tq_mutate_.default Execution halted