Skip to content

Commit

Permalink
Remove Yahoo Finance data quality warning
Browse files Browse the repository at this point in the history
This May will be one year since Yahoo changed things. No need to keep
warning people.
  • Loading branch information
joshuaulrich committed Apr 11, 2018
1 parent 6c6ddbe commit f73a158
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions R/getSymbols.R
Original file line number Diff line number Diff line change
Expand Up @@ -283,15 +283,6 @@ function(Symbols,env,return.class='xts',index.class="Date",
periodicity="daily",
curl.options=list())
{
if(getOption("getSymbols.yahoo.warning",TRUE)) {
# Warn about Yahoo Finance quality and stability
message("\nWARNING: There have been significant changes to Yahoo Finance data.",
"\nPlease see the Warning section of ", sQuote("?getSymbols.yahoo"), " for details.\n",
"\nThis message is shown once per session and may be disabled by setting\n",
"options(\"getSymbols.yahoo.warning\"=FALSE).")
options("getSymbols.yahoo.warning"=FALSE)
}

importDefaults("getSymbols.yahoo")
this.env <- environment()
for(var in names(list(...))) {
Expand Down

0 comments on commit f73a158

Please sign in to comment.