davidgohel / flextable

table farming
https://ardata-fr.github.io/flextable-book/
565 stars 82 forks source link

Partial argument match in `flextable_dim` #600

Closed pawelru closed 10 months ago

pawelru commented 10 months ago
op <- list(
  warnPartialMatchDollar = TRUE,
  warnPartialMatchArgs = TRUE,
  warnPartialMatchAttr = TRUE
)
options(op)

library(flextable)
flextable_dim(flextable(head(iris)))
#> Warning in dims$height: partial match of 'height' to 'heights'
#> Warning in dims$width: partial match of 'width' to 'widths'
#> $widths
#> [1] 3.75
#> 
#> $heights
#> [1] 1.75
#> 
#> $aspect_ratio
#> [1] 0.4666667

sessionInfo()
#> R version 4.3.2 (2023-10-31)
#> Platform: aarch64-apple-darwin20 (64-bit)
#> Running under: macOS Ventura 13.5
#> 
#> Matrix products: default
#> BLAS:   /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib 
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0
#> 
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#> 
#> time zone: Europe/Warsaw
#> tzcode source: internal
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] flextable_0.9.4
#> 
#> loaded via a namespace (and not attached):
#>  [1] jsonlite_1.8.8          compiler_4.3.2          crayon_1.5.2           
#>  [4] promises_1.2.1          zip_2.3.0               reprex_2.0.2           
#>  [7] Rcpp_1.0.11             xml2_1.3.6              later_1.3.2            
#> [10] fontquiver_0.2.1        textshaping_0.3.7       systemfonts_1.0.5      
#> [13] uuid_1.1-1              yaml_2.3.8              fastmap_1.1.1          
#> [16] mime_0.12               R6_2.5.1                gfonts_0.2.0           
#> [19] gdtools_0.3.4           curl_5.2.0              knitr_1.45             
#> [22] openssl_2.1.1           crul_1.4.0              R.cache_0.16.0         
#> [25] shiny_1.8.0             R.utils_2.12.3          rlang_1.1.2            
#> [28] httpcode_0.3.0          httpuv_1.6.13           xfun_0.41              
#> [31] fs_1.6.3                cli_3.6.2               withr_2.5.2            
#> [34] magrittr_2.0.3          grid_4.3.2              digest_0.6.33          
#> [37] xtable_1.8-4            askpass_1.2.0           lifecycle_1.0.4.9000   
#> [40] R.methodsS3_1.8.2       R.oo_1.25.0             vctrs_0.6.5            
#> [43] evaluate_0.23           glue_1.6.2              data.table_1.14.10     
#> [46] officer_0.6.3           fontLiberation_0.1.0    styler_1.10.2          
#> [49] ragg_1.2.6              fontBitstreamVera_0.1.1 rmarkdown_2.25         
#> [52] purrr_1.0.2             ellipsis_0.3.2          tools_4.3.2            
#> [55] htmltools_0.5.7

Created on 2024-01-18 with reprex v2.0.2

davidgohel commented 10 months ago

thanks, it's fixed

github-actions[bot] commented 4 months ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.