-
Notifications
You must be signed in to change notification settings - Fork 4
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
Module fails to compile on windows if the file doesn't have a ".exe" extension #102
Comments
I think this issue is because the "local" directory doesn't exist on your computer so its probably erroring rather than creating it, will add some code to create the directory if it doesn't already exist. |
@shawnafang , I've updated the function to create missing directories. That being said re-reading your message I am wondering if the issue is that its missing the exe extension... Would you mind re-running the example of use as is to see if it re-creates the error ? If it does would you mind changing the argument to |
The current version using |
Ok ya so its a file extension issue with windows expecting |
O no sorry, I mean delete the entire line not just leave the argument blank, as in: sampleStanModel(
jm,
data = jdat,
iter_sampling = 1000,
iter_warmup = 1000,
chains = 1,
parallel_chains = 1
) |
Yes, I have tried. If so, it will show the error of "argument missing with no default" |
when running the example_of_use, if using the
It failed with error:
While replacing the
exe_file = file.path("local","full")
withexe_file=file.path()
, it worksmight need help to figure out why path of "local/full' does not work.
The text was updated successfully, but these errors were encountered: