-
Notifications
You must be signed in to change notification settings - Fork 2
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
Can't install COVIDreportwriter #1
Comments
Not sure what this could be yet - could you try sessionInfo() and paste the results? |
Thanks for your answer!
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Oh, I haven't tested under R 4. Thanks, will get onto it ASAP. |
Looks like there was a dependency missing. Pull and try again now? |
There is still a problem.
trying URL 'https://lib.ugent.be/CRAN/bin/macosx/contrib/4.0/mnormt_1.5-6.tgz'
|
Try pulling once more? I've fixed the documentation which might have been the problem. |
Seems I'm getting further but there are still problems after :). |
No need to apologise, this is a necessary part of the process for us and thanks for trying this out. I think I've now fixed that, try again? |
Almost identical messages: |
Different source, though. Try once more. This definitely works on my machine with a clean workspace. |
Still problems. |
The problem there was that I forgot to push. Sorry. Try now. Ignore the warnings for now. I'll try to fix it so unimportant ones are suppressed in a future release. |
Ok. |
OK, this is where we might have to customise based on your dataset. What's the column for sex named (if you have one)? |
My export don't have the column sex. |
OK. I'll see if there's a quick fix to the issue of having no sex field. |
Are there other common fields you are missing (age etc)? Best we don't go through the same thing several more times! |
Only two: sex and age_estimateyears. |
Give it a try now. Several plots depend on age or sex, and for the present we print an error message if we don't have the information to generate them. In near future we'd like to allow customisation of what appears in the report. |
Good morning :). |
Hi Jason, good morning. The error was likely caused by insufficient outcome dates in your data. We have adapted the code to suit such cases. Could you please pull again and let us know what you get? |
Other message: |
Sure, pull now? |
I've pushed something which should at least prevent this error (I hope). But this may be a sign of more fields that you lack and we've been assuming that users have. What are the names of your admission, onset and discharge date variables? |
They are the variable names defined by ISARIC_nCoV:
|
OK. That's what we have. Are any of them missing for any patients at all? (In particular for hostdat, which I think we always have.) |
Did the push help? |
Yes out of 388 records in that export there are 8 cestdat missing, 1 hostdat missing and 129 dsstdtc missing. |
I can guess what might be causing this, but it's only a guess. I've pushed the guess; give it a try. We're certainly at the point that different groups' Redcap variations are a problem and I'm flying slightly blind. I don't suppose there's any chance of sharing the data with me? |
Hello. |
Good morning. |
My colleague @DebbieMalden ran into this - I've asked how she fixed it. We should add LaTeX installation instructions to the readme. |
Hi Jason - thanks for your support here. I tried a few things, but I think this worked: tinytex::install_tinytex() |
Oh my god. |
Fantastic! It's a great feeling getting code to work! Thank you so much for working through these issues - Let us know if you have any other problems at all! |
Is the code supposed to work with age and sex too? |
I even merged sex and age_estimateyears in the exact csv file that works with the code... And just buy adding these two variables it doesn't work anymore... Same end message as the log I sent an hour ago. |
This is a known issue and we are on it. Basically the code is currently expecting at least some NAs and is failing when it finds none. Fix soon. |
Hi Jason, thanks for doing this. It's been fixed now. Could you please re-install and run again? Let us know what you get. |
Still doesn't work for me (with age_estimateyears and sex - I merged these two "columns" at the end of the csv). |
Hi Jason, I've looked at your log file. It is highly likely that you still have the old package folder since the variable causing the error is no longer in the code. Please detach the package, delete the COVIDReportwriter folder from the libs folder and re-install. |
Ok it works :)!!! Yay! Thanks again very much! |
Super! Thanks a lot for testing this. |
I have problems with figures 4 to 7 though (see the legends, texts are overlapping - and the figure 7 doesn't work at all). |
Hi Jason, the figure lengths have now been fixed. Thank you! Try again? |
Dear contributors,
I'm stuck...
Do you understand this?
Thanks for your help.
Stack trace:
x System command 'R' failed, exit status: 1, stdout & stderr were printed
The text was updated successfully, but these errors were encountered: