Comments (4)
as extra info: when I tried the minimal word example in the documentation, I get:
Error: read_docx only support docx files
Does this helps to understand the issue I'm having?
minimal example -----
example <- system.file(package = "officedown", "examples/minimal_word.Rmd")
rmd_file <- tempfile(fileext = ".Rmd")
file.copy(example, to = rmd_file)
docx_file_1 <- tempfile(fileext = ".docx")
render(rmd_file, output_file = docx_file_1, quiet = TRUE)
from officedown.
The first issue is a duplicate of #22
If you don't have "Bradley hand", use another one available on your computer or install "Bradley hand"
To install the package, you need to run:
install.packages("officedown")
The last issue you have is not reproducible, sorry, I can't help there.
from officedown.
Thanks, I hadn't realised that in order to see the references one needed to refresh the fields (F9) within word. It works now following issue 22!
The last issue happened when running the code you provide in the examples to run the minimal_word.Rmd in your package. I guess it is not reproducible by you because it doesn't throw an error in your machine. Unsure why it is throwing the error in mine.
from officedown.
You have to hit F9 when you changed the default settings of Word. I don't have to do that on my machine, a pop up window is asking me if I do agree to update fields:
This document contains fields that may refer to other files. Do you want to update the fields in this document?
The last issue is also not happening on 12 different machines maintained by the CRAN: https://cran.r-project.org/web/checks/check_results_officedown.html
Maybe if you followed guidelines (those you deleted when filling that issue) I would be able to help but there I have no idea what code you really ran.
pandoc_available() && pandoc_version() >= numeric_version("2.0")
from officedown.
Related Issues (20)
- Math font in rdocx_document HOT 1
- Add image to word doc header without using reference docx
- Error when using `knit_print_block` in loop HOT 6
- Header Problems concomitant with page numbering HOT 6
- number_section and markdown_document2: change of default behavior not possible HOT 5
- Math expression HOT 1
- The "flextalbe" Caption
- Help with using flextable in officedown HOT 10
- Import the figure as its original height/width ratio HOT 14
- (How to) Add footnotes through officedown HOT 1
- Fields Word document HOT 1
- Name for `tab.id` must not contain `_`? HOT 1
- `rpptx_document` does not use the assigned layout in code chunk HOT 3
- accessing different parts of word doc HOT 3
- how to add page numbers, title page and sections in word using officedown HOT 1
- Extra section break is created after MULTCOLUM stop HOT 5
- Option to output Word doc with line numbering HOT 5
- dml bg is always "white" in R Markdown HOT 2
- `block_pour_docx` but only for part of file to be poured
- Images in page headers of reference docx misplaced when using <!---BLOCK_LANDSCAPE_START---> <!---BLOCK_LANDSCAPE_STOP---> HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from officedown.