-
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
write_project function kills R #145
Comments
Hmm, that's weird. Can you send me the script and I'll take a look at it? |
Data and script are here: https://github.com/ricschuster/Tool1_pilot_QC |
When you run the code, do any of the files get created in the output folder or only some of them? |
I noticed that some of the theme/feature/include/weights names had accents - I wonder if this could be causing issues? |
None of them. |
That could be it. Will try changing them tomorrow. |
Ok - this suggests that it might be code writing the YAML file that is failing (since this is the first file that should be written). What happens if you try running the following code (after running everything except
|
R still crashes without throwing an error. |
It was the |
Yeah, if you clone the repo, and then use |
Or, just copy in the project files into |
To avoid this in the future, I'll update the code so that you can't create variable with a |
Thanks! |
Ah - just to be clear do you mean the "index" for a varible? I just checked and variables don't have "name" (strictly speaking). |
It's the theme/include/weight name specifically. |
I've finally got the pilot data to work on the server. The rest was related to the special characters in French. I had to convert them all to 'normal' characters for this to work. I did it for both the layer names and the variable names. Not sure why this is an issue. |
It seems that the encoding issue is related to the yaml R package (see vubiostat/r-yaml#90). To address this, I'll try wrapping the names in |
this is needed since dots are no longer allowed in names per #145
Hi Jeff,
I've just modified your Ontario pilot data script and got all the way to the
write_project
part:When I go ahead and run this code my R session quits. No warning or anything, it just closes. Do you have ideas how to trouble shoot this?
The text was updated successfully, but these errors were encountered: