Closed WayneGitShell closed 4 years ago
ppt_pres <- officer::ph_with(x=ppt_pres,external_img(src = imgfile, width = width / 90 0.7, height = height / 90 0.7),location = ph_location_left(),use_loc_size = FALSE)
Bug fixed - but could do with further refinement on image sizing in PowerPoint...
ERROR: 'ph_with_img' is defunct in officer package.
Use 'ph_with' instead but make sure it's backwards compatible...
Relevant code is in ppt.R.