Git Product home page Git Product logo

Comments (4)

ammadrigal avatar ammadrigal commented on June 16, 2024

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.

davidgohel avatar davidgohel commented on June 16, 2024

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.

ammadrigal avatar ammadrigal commented on June 16, 2024

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.

davidgohel avatar davidgohel commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.