I have written a report.
Gives me the number of patients , operations etc for all departments of the hospital. CSV file is read and several "simple" grouping and summarizing operations using dplyr are done.
Output is produced with ggplot and ggtexttable
If I run the entire notebook, all output tables and plots are o.k. within the notebook.
If I knit the notebook to html I have a loss of data in the output, lower bars in the graph, and mistakes in the tables( lower calculated values). The values of the sum for different departments are too low.
I had the same problem when I did the reporting of February and used flexdashboard. When I used {.tabset} instead of flexdashboard I got correct output in notebook and .html.
Now when I prepare the march reporting I got similar issue, but this time I used {.tabset} output in advance and ran in the same issues as last time.
I use Rstudio 1.1.383 all libraries are unto date. R: 3.4.3
Reproducible example is very complicated, as the data contain patient information
Any ideas ?
Thanks Peter