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

beqs - Date input error ('invalid trim argument') #85

Closed
csrvermaak opened this issue Oct 21, 2015 · 5 comments
Closed

beqs - Date input error ('invalid trim argument') #85

csrvermaak opened this issue Oct 21, 2015 · 5 comments

Comments

@csrvermaak
Copy link
Contributor

@csrvermaak csrvermaak commented Oct 21, 2015

When I try to run one of the example screens:

beqs("Global Oil Companies YTD Return","GLOBAL","ENGLISH","GENERAL","20150930")

This error is returned:

Error in format.default(date, "%Y%m%d") : invalid 'trim' argument

Suspect it might be in the wrapper function.

@csrvermaak
Copy link
Contributor Author

@csrvermaak csrvermaak commented Oct 21, 2015

OK, so the problem just lies with the example in the documentation, expects a Data, but in the example, it is a string.

@eddelbuettel
Copy link
Member

@eddelbuettel eddelbuettel commented Oct 21, 2015

Dang. 'R CMD check ...' would have caught that if only we could run the example at, say, Travis :-/

@csrvermaak
Copy link
Contributor Author

@csrvermaak csrvermaak commented Oct 21, 2015

@eddelbuettel Update the example, or the code - your preference?

@eddelbuettel
Copy link
Member

@eddelbuettel eddelbuettel commented Oct 21, 2015

Fix coming in one minute...

@csrvermaak
Copy link
Contributor Author

@csrvermaak csrvermaak commented Oct 21, 2015

Ah .. OK, I was about to submit a pull request for a patch :-)

eddelbuettel added a commit that referenced this issue Oct 21, 2015
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.