Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstate disabled tables #34

Open
ns-rse opened this issue Jul 20, 2024 · 0 comments
Open

Reinstate disabled tables #34

ns-rse opened this issue Jul 20, 2024 · 0 comments
Labels
tables Issues relating to tables in manuscript

Comments

@ns-rse
Copy link
Owner

ns-rse commented Jul 20, 2024

In fixing the method used in imputation for some unknown reason as yet unresolved many of the gtsummary::tbl_summary() tables such were causing errors on rendering the document.

Error occurs after processing everyting to index.knit.md...

128/130 [xgboost-save]                                      
129/130 [tbl-variables]                                     
130/130                                                     
output file: index.knit.md

Rendering qmd embeds [index.qmd]
Error running filter /home/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:
Inline, list of Inlines, or string expected, got Blocks
	while retrieving function argument content
	while retrieving arguments for function Plain
stack traceback:
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:16561: in function <...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:16387>
	(...tail calls...)
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:2947: in function <...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:2941>
	(...tail calls...)
	[C]: in ?
	[C]: in method 'walk'
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:557: in function <...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:546>
	(...tail calls...)
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1334: in local 'callback'
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1352: in upvalue 'run_emulated_filter_chain'
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1388: in function <...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1385>
stack traceback:
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:557: in function <...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:546>
	(...tail calls...)
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1334: in local 'callback'
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1352: in upvalue 'run_emulated_filter_chain'
	...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1388: in function <...e/neil/.local/quarto/quarto-1.6.3/share/filters/main.lua:1385>

Affected tables are (these are the label: for each code chunk...

  • tbl-patient-demographics
  • tbl-clinical-characteristics
  • tbl-biomarkers-variables
  • tbl-ultrasound-characteristics
  • tbl-u-class-final-path
  • tbl-thy-class-final-path
  • tbl-cytology-characteristics
  • tbl-data-completness - this may be redundant though as there is a fair bit of duplication with tbl-predictors and much of the information is in the tbl-imputation-summary-[pmm|cart|rf] tables.
  • tbl-predictors - see above comment.

These have therefore been disabled by setting eval: false but some may need reinstating/fixing.

This may be related to a recent update to gtsummary-1.7.2 (2024-07-15) which is showing on CRAN as broken and in need of fixing.

image

There is active work on-going in the gtsummary repository as they work towards v2.0.0 release so we may see this addressed in due course. I haven't (yet) raised an issue as a) its the weekend and b) I've not been able to recreate a minimal reproducible example to demonstrate the problem.

@ns-rse ns-rse added the tables Issues relating to tables in manuscript label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tables Issues relating to tables in manuscript
Projects
None yet
Development

No branches or pull requests

1 participant