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

Tests for equivalence of sratio() and cratio() in case of symmetric distribution functions #1153

Merged
merged 12 commits into from
May 6, 2021

Conversation

fweber144
Copy link
Contributor

This is the PR for enumeration points 4 and 5 of this comment (see also this comment for an explanation why I commented out the tests for the equivalence of sratio() and cumulative() in case of the cloglog link).

@paul-buerkner
Copy link
Owner

Thanks for opening this PR! I would prefer these tests to live in tests/local/tests.models_new.R (or some new file in /local because all the example models are stored and shipped with brms thus further increasing the package size. Would that be possible?

@fweber144
Copy link
Contributor Author

Sure, I'll check that. I wasn't 100% sure if I put everything at the correct (or most appropriate) place.

Another remark: Commit d9266cc is just a leftover fragment from some of my local code. I thought that additional unit test could not harm (especially because it doesn't need a new fit, so it's computationally inexpensive), but if you don't want it, just remove it. In any case, it's not complete (as it only tests the sratio() family).

@fweber144
Copy link
Contributor Author

I now moved brmsfit_example7 (and a copy of brmsfit_example4) as well as the corresponding test to tests/local/tests.models_new.R. Is it OK this way?

@paul-buerkner
Copy link
Owner

paul-buerkner commented May 6, 2021

Great, thank you! Can you remove the commented out cloglog tests please? I don't really want this to be in the code base at the moment even if commented out.

@paul-buerkner
Copy link
Owner

I removed the commented-out tests and will merge this PR after checks are passing locally.

@paul-buerkner paul-buerkner merged commit 28e76ea into paul-buerkner:master May 6, 2021
@fweber144
Copy link
Contributor Author

Thanks! Sorry for not replying—I was just away from my computer.

@paul-buerkner
Copy link
Owner

paul-buerkner commented May 6, 2021 via email

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

Successfully merging this pull request may close these issues.

2 participants