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

pandoc-citeproc is not available! #34

Open
sbbmu opened this issue May 4, 2022 · 3 comments
Open

pandoc-citeproc is not available! #34

sbbmu opened this issue May 4, 2022 · 3 comments

Comments

@sbbmu
Copy link

sbbmu commented May 4, 2022

When I try the example code below, I got this error "Error in .check_pandoc(ignore_pandoc) : pandoc-citeproc is not available!".

library("GeneTonic")
library("macrophage")
happy_hour(dds = dds_macrophage,
           res_de = res_de,
           res_enrich = res_enrich,
           annotation_obj = anno_df,
           project_id = "examplerun",
           mygenesets = res_enrich$gs_id[c(1:5,11,31)],
           mygenes = c("ENSG00000125347",
                       "ENSG00000172399",
                       "ENSG00000137496")
)

Error in .check_pandoc(ignore_pandoc) : pandoc-citeproc is not available!

I have installed pandoc. But pandoc-citeproc is discontinued. I am using Windows 10. Any suggestions?

> Sys.which("pandoc-citeproc")
pandoc-citeproc 
             "" 
@federicomarini
Copy link
Owner

Nice catch - I think I never had to experience that so I could not really test that out.

I hope a simple check whether pandoc is available should suffice to ensure that all works correctly.
In the meantime, you can edit the source of the happy_hour function and safely ignore the lines that check for the presence of pandoc-citeproc

Federico

@federicomarini
Copy link
Owner

... or alternatively, without the need of editing source code - just call happy_hour() setting the ignore_pandoc argument to TRUE.
This will likely raise a warning but at least it won't interrupt the execution of the function.

@federicomarini
Copy link
Owner

Does it work in your hands as well @sbbmu ? If so, I could close the issue!

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

2 participants