Closed benoitrauturier closed 1 year ago
Hi Benoît,
:) Well, I can admit it's not obvious where to open that issue.
It seems @marleendv ' PR is the solution as you could use id that you can control: https://github.com/davidgohel/officer/pull/91
You could reuse her code/ideas until it's integrated in officer (I don't have time for now but will give a try later).
Closing that issue as I think it's being solved in officer and also ph_with_vg()
has been replaced by ph_with()
Hi David,
Not sure that one is a rvg or a officer issue. Apprently the shapes generated by
ph_with_vg
are counted while computing the id of each shape in a particular slide. The consequence for that is that when generating multiple reports, the id_chr argument is unpredictable from one version to another.The reproducible example below describes the problem.
Here the loop works for i = 8 but for the other values it will throw the error "Error: selection does not match any row in slide_summary. Use function slide_summary.".
A workaround here is to rewrite the slide generating part but this limits the possibility to control perfectly which placeholder must be at the top and which one must be a the bottom.
Here are my session info :