-
Notifications
You must be signed in to change notification settings - Fork 207
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
Couldn't normalize path in addResourcePath
#320
Comments
@Mennanak can you provide a simple reproducible example to reproduce this issue? |
I have the same problem with my app (https://github.com/fou-foo/Tesina/tree/master/Estancia%20observatorio%20econometrico/Pronostico/Pronostico_Resumen/AppObservatorioPronostico) developed in linux, not working in windows or another linux machine |
I'm having the same issue when deploying my app to shinyapps.io
|
I think this happened to me because I was using packrat or something like that, which can be messy. The way I solved it was to copy only the scripts that were essential for my app and copying them in a brand new folder, then I made a new RShiny app in the folder where I copied my scripts. My app was running normally after that. |
I have exactly the same issue as @Mennanak and @fou-foo. My shiny app works on Linux (all cases) or on Windows when the package is installed from source, but I get the following error when it is installed from a windows binary:
Is there finally a way to fix it? |
I've just encountered that problem. I have |
OK, when I disable disk caching (which I've been using by setting |
Hi, Edit: oh, maybe I misunderstood your reply. Did you mean that without a local customization you added, everything works now? (If so, you basically can forget my answer. :)) |
I have this problem currently with my app (embedded in my new R package found at https://cran.r-project.org/web/packages/kindisperse/index.html and https://github.com/moshejasper/kindisperse When I install this package from github (as I did during testing), all files work fine (as they do with the old CRAN version I released several months back)... HOWEVER, when I install the package (v0.10.1) from CRAN now ( I'm running htmlwidgets version 1.5.3.9000, shiny version 1.6.0 I assume the problem must somehow be with the CRAN build, as if I first install CRAN then instead install the most recent github version the problem persists, but if I install a substantially older github version then the most recent github version again, the problem is removed. It's a recent issue (possibly connected to the htmlwidgets package) as my previous CRAN version I put up 3 months ago (0.9.2) runs the app fine, whereas this version doesn't. I have checked all my native code both generally and the changes made between the two versions, and can't find anything that would trigger this issue. The relevant function is on my github at "github.com/moshejasper/kindisperse/tree/main/R", at the very bottom of the file 'app.R' - it is implemented |
Good afternoon,
I'm having trouble creating a package's binary and running on another computer. When testing on the same computer where the torque was generated, the error does not occur:
``
Listening on http://127.0.0.1:3408
Warning: Error in value[[3L]]: Couldn't normalize path in
addResourcePath
, with arguments: `prefix` = 'htmlwidgets-1.2'; `directoryPath` = '/home/user/R/x86_64-pc-linux-gnu-library/3.4/htmlwidgets/www'It is holding the existing user name in the absolute path of the computer where the binary is being created.
I checked the whole code and there are no variables that have received the absolute path.
The text was updated successfully, but these errors were encountered: