rfortherestofus/pagedreport

Report content gets on first page

Closed this issue · 2 comments

I have been getting some weird bugs since a few months when creating reports : The content that should appear after the first page is instead printed on the first page and overlaps the other texts (see attached). This problem occurs on all 4 templates but not on vanilla {pagedown} documents. Removing the chrome_print option does not fix it so I don't think it's a Chrome issue. Maybe some CSS issue ?

I also have another colleague running R on ubuntu 20.04 that has the same problem.

Other than that, thank you so much for your hard work on this awesome package !

Here is my session info

R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.2 LTS, RStudio 1.4.869

Locale:
  LC_CTYPE=fr_FR.UTF-8       LC_NUMERIC=C               LC_TIME=fr_FR.UTF-8        LC_COLLATE=fr_FR.UTF-8    
  LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=fr_FR.UTF-8    LC_PAPER=fr_FR.UTF-8       LC_NAME=C                 
  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C       

Package version:
  assertthat_0.2.1    base64enc_0.1.3     bit_4.0.4           bit64_4.0.5         cellranger_1.1.0   
  cli_3.0.1           clipr_0.7.1         colorspace_2.0-2    compiler_4.0.3      cpp11_0.3.1.9000   
  crayon_1.4.1        DBI_1.1.1           digest_0.6.27       dplyr_1.0.7         ellipsis_0.3.2     
  fansi_0.5.0         farver_2.1.0        fastmap_1.1.0       fs_1.5.0            generics_0.1.0     
  ggplot2_3.3.5       glue_1.4.2          graphics_4.0.3      grDevices_4.0.3     grid_4.0.3         
  gtable_0.3.0        hms_1.1.0           htmltools_0.5.2     isoband_0.2.5       janitor_2.1.0      
  labeling_0.4.2      lattice_0.20.41     lifecycle_1.0.0     lubridate_1.7.10    magrittr_2.0.1     
  MASS_7.3.53         Matrix_1.3.2        methods_4.0.3       mgcv_1.8.33         munsell_0.5.0      
  nlme_3.1.151        openxlsx_4.2.4      pillar_1.6.2        pkgconfig_2.0.3     prettyunits_1.1.1  
  progress_1.2.2      purrr_0.3.4         R6_2.5.1            rappdirs_0.3.3      RColorBrewer_1.1.2 
  Rcpp_1.0.7          readr_2.0.0         readxl_1.3.1.9000   rematch_1.0.1       rlang_0.4.11       
  rsthemes_0.2.1.9000 rstudioapi_0.13     rsvg_2.1.2          sass_0.4.0.9000     scales_1.1.1       
  snakecase_0.11.0    splines_4.0.3       stats_4.0.3         stringi_1.7.4       stringr_1.4.0      
  tibble_3.1.3        tidyr_1.1.3         tidyselect_1.1.1    tools_4.0.3         tzdb_0.1.2         
  utf8_1.2.2          utils_4.0.3         vctrs_0.3.8         viridisLite_0.4.0   vroom_1.5.3        
  withr_2.4.2         xfun_0.26           yaml_2.2.1          zip_2.2.0

screencap

Hi,

Could you update pagedown and pagedreport and tell me if this fix the problem please ?

We had this problem due to the last pagedown version and we made changes in pagedreport to support it. So this should solve it hopefully.

Hi,

My bad, I actually thought I had updated pagedreport but I obviously only updated pagedown ...

Updating pagedreport did solve the problem.

Sorry !