-
Notifications
You must be signed in to change notification settings - Fork 205
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
Code Profiling unable to produce html output #362
Comments
What does |
> Sys.getenv("RSTUDIO_PANDOC")
[1] "/Users/pweide/opt/miniconda3/envs/r_env/bin/pandoc" |
I'm not sure how that's getting set, but it should be |
Hm, I see. For now I just set the variable inside my script |
I posted the original question in the
profvis
repository, because that is when the error first occurred, however the problem seems to be within thehtmlwidgets
package: r-lib/profvis#116 (comment)'m using Rstudio with R version 3.6.2 on MacOS Catalina. I installed R through anaconda into a specified environment. Using the conda-forge distribution I installed the
profvis
(version: 0.3.6) package.When I try to profile following script, the profiling runs but I get an error and no html output is generated:
The error is the following:
When I check in my terminal where pandoc is located (
which pandoc
), I get following output:And checking for the version (
pandoc --version
), I get:So I'm wondering why htmlwidgets adds another
pandoc
to the path (/Users/pweide/opt/miniconda3/envs/r_env/bin/pandoc
) to identify the version? Obvisously/Users/pweide/opt/miniconda3/envs/r_env/bin/pandoc/pandoc
does not exist, hence the error.How can I redirect htmlwidgets to use the right path?
The text was updated successfully, but these errors were encountered: