Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in getSplits #292

Closed
helgasoft opened this issue Jan 30, 2020 · 1 comment
Closed

error in getSplits #292

helgasoft opened this issue Jan 30, 2020 · 1 comment
Assignees
Labels
bug

Comments

@helgasoft
Copy link

@helgasoft helgasoft commented Jan 30, 2020

Description

Anyone getting this today - error in getSplits? (on R v.3.6.1 with all libraries updated/built)
getSymbols may call getSplits and is also affected thru the adjust parameter.

Minimal, reproducible example

getSplits('IBM')
#Error in vapply(parse(text = fr[, 2]), eval, numeric(1)) : 
#  values must be length 1,
# but FUN(X[[1]]) result is length 2
getSymbols('IBM', adjust=TRUE)   # same error
getSymbols('IBM', adjust=FALSE)  # no problem

Session Info

R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] quantmod_0.4-15 TTR_0.23-6      xts_0.12-0      zoo_1.8-7       bizdays_1.0.6  

loaded via a namespace (and not attached):
[1] compiler_3.6.1  tools_3.6.1     curl_4.3        grid_3.6.1      jsonlite_1.6    lattice_0.20-38
@joshuaulrich
Copy link
Owner

@joshuaulrich joshuaulrich commented Jan 30, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.