Skip to content

Commit

Permalink
fixed cash issues
Browse files Browse the repository at this point in the history
  • Loading branch information
msperlin committed Nov 27, 2020
2 parents 804a124 + 63694a0 commit 2d5e59a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/BatchGetSymbols.R
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,13 @@ BatchGetSymbols <- function(tickers,
df.tickers = df.tickers)

# check if cach folder is tempdir()
<<<<<<< HEAD
flag <- stringr::str_detect(string = cache.folder,
pattern = tempdir())
=======
flag <- stringr::str_detect(cache.folder,
pattern = stringr::fixed(tempdir()))
>>>>>>> 63694a0635c7d0bca8688ddb652d150a28354f98

if (!flag) {
warning(stringr::str_glue('\nIt seems you are using a non-default cache folder at {cache.folder}. ',
Expand Down

0 comments on commit 2d5e59a

Please sign in to comment.