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

Error reads: Error in order(x, na.last = na.last, decreasing = decreasing, method = "radix") : Character encoding must be UTF-8, Latin-1 or bytes #118

Open
JoaoGarcezAurelio opened this issue Aug 7, 2024 · 0 comments

Comments

@JoaoGarcezAurelio
Copy link

Hello, I hope you are well.

When running shinylive::export("app", "site") I get the warning:

Error reads: Error in order(x, na.last = na.last, decreasing = decreasing, method = "radix") : Character encoding must be UTF-8, Latin-1 or bytes

I noticed that, unlike what I reckon should be the output, I am not getting an app.json file, nor an "edit" folder, nor an index.html file. I am only getting the shinylive folder and the shinylive-sw.js file.

A consequence of this seems to be that when I run:

httpuv::runStaticServer("site/")

I get a 404 not found.

I have tried this with two different shiny apps, both being run within a project with renv. One of the apps was a simple histogram and the other app is a set of tables. Any help you can provide would be much appreciated.

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

1 participant