DrMattG / InterEco

InterEco workshop repository
GNU General Public License v3.0
5 stars 1 forks source link

FIX BUG to do with the language/encoding #11

Open Becks-Spake opened 1 year ago

Becks-Spake commented 1 year ago

There seems to be some Norwegian encoding

Becks-Spake commented 1 year ago

Start fresh if this doesnt work!

simonrolph commented 1 year ago

@bowlerbear said you were needing some help on this. Could you explain a bit more? what actions are you taking to create the error? where is the encoding appearing?

DrMattG commented 1 year ago

@bowlerbear said you were needing some help on this. Could you explain a bit more? what actions are you taking to create the error? where is the encoding appearing?

Hi @simonrolph, thanks so much for looking at this. I do not get the error my side - it is just when someone (@Becks-Spake in this case) clones the repo and opens it up in RStudio there are extra characters inserted in to the UI and Server scripts. Then the shinyApp will not launch. We suspect it is an issue with my Norwegian encoding (but not sure!). @Becks-Spake could get the App to run by first saving the scripts in the default encoding - but it doesnt matter which encoding I save it in.....

Any ideas or suggestions for us to try?

simonrolph commented 1 year ago

I don't seem to have this issue, or at least no obvious extra characters, what sort of characters are you getting @Becks-Spake?

How was the repo cloned? I did it through command line git clone https://github.com/DrMattG/InterEco and I have my encoding set in Rstudio by default to UTF-8:

image

Are people using mac/windows?

I can't run the app itself as I actually have this issue:

Listening on http://127.0.0.1:7129
Warning: Error in : 'yaml_body' is not an exported object from 'namespace:xfun'
  85: mark
  84: mark_html
  83: markdown::markdownToHTML
  82: htmltools::includeMarkdown
   1: runApp
DrMattG commented 1 year ago

Thanks @simonrolph - that's good news at least!

Becks-Spake commented 1 year ago

Hi Team! They were random dot symbols inserted at various random points. I manually removed them and it worked. So maybe I'm the issue if it has worked for you Simon! Thanks for looking @simonrolph