simone-mordue / InferSDGs

1 stars 2 forks source link

Error with certain text files #1

Closed SeaCelo closed 3 years ago

SeaCelo commented 3 years ago

I was testing the app and ran into an odd error. With some files, I get the error: `> ggplot(all, aes(y=Value, x=ID)) +

I'm attaching one of these files here. It doesn't seem related to line endings or encoding, but I didn't test it extensively.

The odd thing is that it only happens when both "marine.txt" and "poverty.txt" are also present, so the file itself isn't the problem. Very odd. Let me know if I can help debut it more.

W2006_crlf.txt

simone-mordue commented 3 years ago

This was to do with the ggplot function not recognizing how many files were read in. I have adjusted the code so it works now.