joshuaulrich / TTR

Technical analysis and other functions to construct technical trading rules with R
GNU General Public License v2.0
330 stars 103 forks source link

xts/zoo are not automatically imported when loading TTR 0.23-0 #24

Closed hifin closed 8 years ago

hifin commented 8 years ago

I use R 3.1.2 and recently upgraded TTR from 0.22 to 0.23. However, now when I load TTR, xts/zoo are not automatically imported. Any clue? Thanks!

joshuaulrich commented 8 years ago

CRAN prefers that packages "Import" other packages, rather than "Depend" on them. This avoids cluttering the users's search path. If you want xts and zoo attached to your search path, call library(xts) explicitly (xts still Depends on zoo).