noamross / redoc

[NOTE: Project in suspended animation for now] Reversible Reproducible Documents
https://noamross.github.io/redoc
Other
514 stars 44 forks source link

Error in word_document when called by roundtrip_active_file #57

Open ghost opened 4 years ago

ghost commented 4 years ago

This is my first time trying to use the package, I just installed it from GitHub today.

I'm calling it with the RStudio Addin "Render and Update" and I get the following error:

redoc:::roundtrip_active_file()
# Error in word_document(...) : unused argument (roundtrip = TRUE)

I updated from rmarkdown 1.16 to the latest sources on GitHub and still get the error.

I'm not sure if this is the right way to first render a document. If not, I'd be grateful for instructions!


Session Info ```r R version 3.6.1 (2019-07-05) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18362) Matrix products: default locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] Rcpp_1.0.2 rstudioapi_0.10 knitr_1.25 xml2_1.2.2 magrittr_1.5 uuid_0.1-2 [7] R6_2.4.0 rlang_0.4.0 httr_1.4.1 tools_3.6.1 packrat_0.4.8-1 xfun_0.10 [13] htmltools_0.3.6 yaml_2.2.0 digest_0.6.21 crayon_1.3.4 zip_2.0.4 whoami_1.3.0 [19] officer_0.3.5 base64enc_0.1-3 evaluate_0.14 mime_0.7 rmarkdown_1.16.1 stringi_1.4.3 [25] compiler_3.6.1 diffobj_0.2.3 redoc_0.1.0.9000 jsonlite_1.6 ``` Pandoc version (get with rmarkdown::pandoc_version): 2.6 RStudio version (if applicable): 1.2.5001
DocEd commented 4 years ago

I'm getting the same error. Otherwise things are working well. Thanks for developing this package. It could be a game changer for working with my non-R collaborators!

sammo3182 commented 4 years ago

Same error +1. Anyway to avoid this? I tried to call the function directly from the console, the same error message returned.

statsccpr commented 4 years ago

First time testing the package and I couldn't get out of the starting gates, this was the problem for me too.

https://github.com/noamross/redoc/pull/65#issuecomment-640916274

petrbouchal commented 4 years ago

FWIW you can install a version with this issue fixed from the PR #65 ref by runningremotes::install_github("noamross/redoc#65").