-
Notifications
You must be signed in to change notification settings - Fork 64
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
Improve error messaging for derive_param_tte()
#2519
Comments
@rossfarrugia , I think the issue is not related to underscores but an issue in the error message. The correct error message should be:
I assume in your example |
Yes! That's it @bundfussr - great spot. It was an error on my side but the error message could definitely be improved, as I'd have spent hours trying to figure that out. |
derive_param_tte()
argument source_datasets
doesn't like underscoresderive_param_tte()
@rossfarrugia , I have fixed the bug in the error message. If you want to try it out, you need to call |
yes, works now by giving better error message when re-running the same code 👍 |
hours!! oh no!! |
What happened?
Any reason why
derive_param_tte()
argumentsource_datasets
doesn't like underscores?Session Information
Using {admiral} 1.1.1
Reproducible Example
This code works (assuming I have a valid
adsl_death
dataset and I've setrand_censor
):This code errors:
The error given is:
The text was updated successfully, but these errors were encountered: