Appsilon / shiny.i18n

Shiny applications internationalization made easy
https://appsilon.github.io/shiny.i18n/
Other
168 stars 38 forks source link

[Bug]: Error making shiny.i18n work on shinyapps.io #123

Open dioubernardo opened 1 year ago

dioubernardo commented 1 year ago

Guidelines

Project Version

0.3.0

Platform and OS Version

Windows

Existing Issues

No response

What happened?

rsconnect cannot identify the dependency

Steps to reproduce

code

library(shiny)
library(shiny.i18n)
...

when I run rsconnect::appDependencies('.')

       package version source
1           R6   2.5.1   CRAN
2         Rcpp  1.0.10   CRAN
3    base64enc   0.1-3   CRAN
4        bslib   0.4.2   CRAN
5       cachem   1.0.8   CRAN
6          cli   3.6.1   CRAN
7   commonmark   1.9.0   CRAN
8       crayon   1.5.2   CRAN
9       digest  0.6.31   CRAN
10    ellipsis   0.3.2   CRAN
11     fastmap   1.1.1   CRAN
12 fontawesome   0.5.1   CRAN
13          fs   1.6.2   CRAN
14        glue   1.6.2   CRAN
15   htmltools   0.5.5   CRAN
16      httpuv  1.6.11   CRAN
17   jquerylib   0.1.4   CRAN
18    jsonlite   1.8.4   CRAN
19       later   1.3.1   CRAN
20   lifecycle   1.0.3   CRAN
21    magrittr   2.0.3   CRAN
22     memoise   2.0.1   CRAN
23        mime    0.12   CRAN
24    promises 1.2.0.1   CRAN
25    rappdirs   0.3.3   CRAN
26       rlang   1.1.1   CRAN
27        sass   0.4.6   CRAN
28       shiny   1.7.4   CRAN
29 sourcetools 0.1.7-1   CRAN
30       withr   2.5.0   CRAN
31      xtable   1.8-4   CRAN

In the application log

2023-06-13T21:56:12.596620+00:00 shinyapps[9171222]: Warning: namespace ‘shiny.i18n’ is not available and has been replaced
2023-06-13T21:56:12.596654+00:00 shinyapps[9171222]: by .GlobalEnv when processing object ‘i18n’

Expected behavior

work ;)

Attachments

No response

Screenshots or Videos

No response

Additional Information

I don't know if the problem is in shiny.i18n, but as in the shinyapp.io documentation it is said that the dependencies are identified automatically, I think there may be a problem in the identification.