Skip to content
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

FIX BUG to do with the language/encoding #11

Open
Becks-Spake opened this issue Jul 7, 2023 · 6 comments
Open

FIX BUG to do with the language/encoding #11

Becks-Spake opened this issue Jul 7, 2023 · 6 comments

Comments

@Becks-Spake
Copy link
Collaborator

There seems to be some Norwegian encoding

@Becks-Spake
Copy link
Collaborator Author

Start fresh if this doesnt work!

@simonrolph
Copy link

@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
Copy link
Owner

DrMattG commented Aug 9, 2023

@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
Copy link

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
Copy link
Owner

DrMattG commented Aug 9, 2023

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

@Becks-Spake
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants