0

I've been trying to generate powerpoint slides with officer and ran into the following Error:

Error in UseMethod("ph_with", value) : 
  no applicable method for 'ph_with' applied to an object of class "c('xml_document', 'xml_node')"

I can reproduce the error with the example on https://davidgohel.github.io/officer/articles/offcran/tables.html, so I assume it is not something wrong with my code.

I'm on R 3.6.0.

David Gohel
  • 9,180
  • 2
  • 16
  • 34
DataWiz
  • 401
  • 6
  • 14
  • 1
    It maybe an issue with your packages versions. Could you check you have the latest version of package officer and flextable? – David Gohel Sep 11 '19 at 10:03
  • Thanks @DavidGohel, I updated a whole bunch of packages in my installation, and used the github version of officeR. This seems to have done the trick. – DataWiz Sep 11 '19 at 10:29
  • cool. CRAN version of officer should also works :) – David Gohel Sep 11 '19 at 12:38

0 Answers0