-
Notifications
You must be signed in to change notification settings - Fork 113
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
Error loading a data frame as input data in hBayesDM R version #112
Comments
This bug is fixed in v1.0.2 (https://github.com/CCS-Lab/hBayesDM/tree/hotfix/v1.0.2), which isn't available in CRAN yet. You can install the fixed version with the following R line:
|
I ran into this issue with a couple of different datasets and I can confirm it's now fixed |
Any news as to when this is going to go to CRAN? I have a student experiencing issues when trying to compile the patch. |
Thanks for asking! We will submit the latest (fixed) version sometime this week. Best, |
I had the same error as the poster but installing the patch listed above did not resolve it. Quick comment-- While the hBayesDM documentation, example data, and instructions say that you should label IDs as "subjID", after looking at the source code, it turns out it should be "subjid" which led to my errors it seems. After changing it works. The help documentation for 2 armed bandit says: |
@JacobElder Thanks for reporting the potential bug. Would you be able to share your sample code regarding 'subjID'? Yes that's correct that the order of columns does not matter. |
v1.0.2 is now available in CRAN and the bug is fixed in the latest 1.0.2 version. |
Here is a code that will reproduce the error displayed below
Output
Model name = dd_hyperbolic
Data file = Error in cat("Data file =", data, "\n") :
argument 2 (type 'list') cannot be handled by 'cat'
The text was updated successfully, but these errors were encountered: