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
Methods that do not pass strict tests #450
Comments
I'd love to have a go at fixing one or two of these as my first contribution! |
Hi @alexpghayes, I can deal with the methods for the |
@thisisnic I'm in the process of adding a couple more tests, and will follow up with you once I've got them written! @ellessenne Awesome, much appreciated. There isn't much doc for the new test system but if you run Thanks to both of you! |
@alexpghayes - I have submitted a PR for an update I made to tidy.survdiff, but I'll hold off any more for the moment until you confirm I've done everything I need to do properly, given this is my first contribution! :) |
@alexpghayes see PR #462 I am writing here as well as it may interesting to a larger audience: any idea on how to deal with column names generated dynamically from model calls (and therefore not included in |
Git It's better to work on a new branch. This will avoid duplicated commits when I merge. For this PR I'll just squash merge, but in the future using a new branch is always a good idea. Column names not in glossary Preferences:
library(tidyverse)
library(joineRML)
data(heart.valve)
hvd <- heart.valve[!is.na(heart.valve$log.grad) & !is.na(heart.valve$log.lvmi), ]
set.seed(1)
fit1 <- mjoint(formLongFixed = log.lvmi ~ time + age,
formLongRandom = ~ time | num,
formSurv = Surv(fuyrs, status) ~ age,
data = hvd,
timeVar = "time",
control = list(nMCscale = 2, burnin = 5)) # controls for illustration only
au <- augment(fit1)
gather(au, outcome, resid, contains("resid")) Aside: it may be better to report Documentation For breaking changes like this it's important to explicitly document all changes in I'm going to try and get the build working and then I'll take another look at this later today/tomorrow. |
@thisisnic Will take a look once I get the build going again! |
@alexpghayes thanks for the feedback, I really appreciate it! Apologies again for that bad pull request - I don't know what I was thinking 😅 I'll close #462 and open a new one properly so you don't have to squash merge. Regarding the columns names not in the glossary: the input dataset has longitudinal data, which is not in tidy format if you have multiple longitudinal outcomes (generally).
In this example, Finally, |
Not a problem in the slightest! I'm really grateful for all the effort you're putting into contributing! For |
Hi Alex. Thanks for making some of these beginner friendly issues and being willing to help those of us who want to get started contributing to open source projects. I'd be happy to try to work on |
@alexpghayes I'm interested in helping. Dug around in some of the code and found the first one I'd like to try (possibly more after this). Can you confirm my strategy here makes sense before I open a PR? And anything else I should consider beforehand? tidy.ridgelm This strict test fails because of the
My proposed strategy:
Should I also open a separate issue as a paper trail that I can reference within the NEWS? A la the "- Bug fix for tidy.polr for incorrectly using colnames. (#498)" currently in the dev NEWS? Let me know what you think and I'd be happy to open issue and/or PR asap. And I'm likely interested in tackling more of these as well in the coming days/weeks. |
@alexpghayes I'm also interested in helping |
Hi @alexpghayes. I would like to help with some of the For Also, these column names should probably be edited to be syntactically valid. In
If that is in fact the case, I propose the addition of the following to
Also I propose that If this is an acceptable solution, I will create a branch and PR for the change in Thank you for tagging these as beginner. This is my first contribution, so any feedback is welcome! |
Apologies for the delays in responding -- school has been busy! Thanks everybody for your interest! @michaelpawlus If you're still interested, tackling @datascientistmc @karissawhiting That sounds great! Would you open a PR and then we can continue discussion there? Before y'all get started I encourage you to read:
If you run into issues, please open a new issue / PR describing the problem you're tackling and tag me! I'll try to get back to you a bit faster than I have been -- at the moment finals are about to suck up a bunch of my time, but I should be much more responsive over winter break! |
Got some time off around this weekend, and wanted to get through some more of these, so I'll be looking at |
The reason that Given that the output is in a tidy format, and these column names are fixed/predictable values, should I submit a PR to |
This issue has been automatically closed due to inactivity. |
This issue 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. |
This issue is based on #449, which I assumed will be merged.
A number of tidiers do not yet pass the strict tests. Beginning with the changes in #449, the
strict = TRUE
is the default in tests, so these tidiers can be identified based on the appearance ofstrict = FALSE
in the tests file.The following tidying methods still do not meet the new
strict = TRUE
specifications:The augment methods in general require the most work. Tidy and glance methods typically require only minor changes and are beginner friendly issues. Oftentimes, the only necessary change will be to record some column names in
column_glosssary
in modeltestsThe text was updated successfully, but these errors were encountered: