-
Notifications
You must be signed in to change notification settings - Fork 303
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
new tidiers: vars package / varest objects #979
Conversation
As for your first bullet point, it's fine to exclude the Generally, when it comes to modeltests, feel free to file a PR there with the entries you need and link here. I'll merge there and broom can temporarily depend on the It's fine to not define an |
Thanks for the info. I think there's an argument to be made for including |
I'm on board for a warning in that case! |
Removing the [WIP] tag because I think this looks pretty good now. The remaining error should be fixed when == Failed tests ================================================================
-- Failure (test-vars.R:29:3): glance.vars -------------------------------------
length(unacceptable) == 0 is not TRUE
`actual`: FALSE
`expected`: TRUE
Output column names not in the column glossary: lag.order
[ FAIL 1 | WARN 25 | SKIP 3 | PASS 3886 ]
Error: Error: Test failures
Execution halted |
fix return_glance call, spaces before/after operators, clarify warning
Much appreciated! :-) |
Ooof, this one wasn’t so clean. Thanks for the review! |
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
The goal of this PR is to address issue #161. It is marked as WIP because I have a couple questions a few notes.
Questions:
vars
package does not define aconfint
method and does not report confidence intervals. Should thetidy
method (a) include and document aconf.int
argument and print an informative error if users set it toTRUE
, or (b) exclude this argument from the function definition?glance
is the lag order. Right now, I included a column called "order". Is that a good name? Should I make a PR tomodeltests
?Note:
varest
objects include results for several levels. These are indicated in agroup
column produced bytidy
.augment
output from a VAR model. For now, I do not define this function, but that might be something to consider in the future if an expert can help.glance
test is commented out untilmodeltests
includes and documents the column name.