davidgohel / flextable

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

flextable issue after upgrading to R 4.4 #628

Closed dar143 closed 6 months ago

dar143 commented 6 months ago

Quarto script has a rendering issue with flextable after I upgraded to R 4.4 Example script below flextable package is version 0.9.6.007 quarto is version 1.4 R is 4.4 (puppy cup)

`--- title: "Flextable" format: docx

#| label: tbl-flextable-example
#| tbl-cap: Problems after updating to 4.4
library(flextable)
cbind(Make = rownames(mtcars), mtcars[, 1:3]) |> flextable() |>
  autofit()
dar143 commented 6 months ago

Sorry eerror is processing file: Flextable.qmd |............................... | 67% [tbl-flextable-example] Quitting from lines at lines 7-13 [tbl-flextable-example] (Flextable.qmd) Error in .make_numeric_version(): ! invalid non-character version specification 'x' (type: double) Backtrace:

  1. global .main()
  2. execute(...)
  3. rmarkdown::render(...)
  4. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  5. knitr:::process_file(text, output) ...
    1. flextable:::is_in_quarto()
    2. base::Ops.numeric_version(...)
    3. base::as.numeric_version(e1)
    4. base::numeric_version(x)
    5. base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)

Execution halted

davidgohel commented 6 months ago

Try with flextable 0.9.6.008 the latest version

dar143 commented 6 months ago

[like] Darnell, Ross (Data61, Dutton ... reacted to your message:


From: David Gohel @.> Sent: Tuesday, April 30, 2024 6:01:12 AM To: davidgohel/flextable @.> Cc: Darnell, Ross (Data61, Dutton Park) @.>; Author @.> Subject: Re: [davidgohel/flextable] flextable issue after upgrading to R 4.4 (Issue #628)

Try with flextable 0.9.6.008 the latest version

— Reply to this email directly, view it on GitHubhttps://github.com/davidgohel/flextable/issues/628#issuecomment-2084442086, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABJDP4URJ25REJ6Y4K2J5Z3Y74XSRAVCNFSM6AAAAABG7STNMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGQ2DEMBYGY. You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 1 week 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.