4. Publish, report and deck
Publish tables and figures from both completed runs, then build a Word report and a PowerPoint deck from them.
This is part 4 of the two-analyte walkthrough. Before you start, you should have finished part 3: 7. Runs on the Analysis page shows two Completed runs, one for "PARENT" and one for "METAB".
Publishing copies chosen tables and figures from completed runs into the study folder’s OUTPUTS folder. Reports and decks are then built from those copies. Publishing never changes a run, and only Completed runs can be published.
Step 12. Publish both runs
- Select Publish on the left.
- In 1. Choose tables and figures, there is a box for each run. Keep the items that are ticked to begin with: the parameter summary, the individual parameter listing, and the individual and mean concentration–time profiles.
- Under Label (optional), type
PARENT and METAB. - Select Check. Each file shows as New copy. Nothing is written yet.
- Select Publish.
The message names the new publication and says “12 file(s) from 2 run(s)”. The publication appears in 2. Publications, with both analytes.
- A run has no box — only Completed runs can be published. Any other run is listed as one that can’t be published, with the reason. Go back to part 3 and complete it.
- “The selection changed; check it again first.” — you changed the ticks or the label after Check. Select Check again, then Publish.
The publication records the exact runs it used and the fingerprint (SHA-256) of every file, never “the latest” run. Reports and decks always name a publication. See Workspace and run provenance.
Step 13. Build the Word report
In 4. Report (DOCX):
- Under Publication, choose the publication labelled
PARENT and METAB. - Select Set up report and wait for it to finish. The button then changes to Use this publication, and Edit report appears.
- Under Status, choose Draft.
- Select Check.
- Select Render and wait. This can take a few minutes.
- Select Download DOCX and open the file in Word.
- After Check, the card says “The last check found nothing to fix.”
- After Render, the build appears in the table below, with when it was made, the publication, the runs and the settings it used.
- “Choose draft or final.” — pick Draft under Status, then select Render again.
- The check lists problems — each is marked Blocks or Warning. The check looks for anything that would block or weaken the build, such as a missing or broken description file. Select Check published files in 3. Published files to check everything in
OUTPUTS.- The render fails — see Troubleshooting. A failed render keeps nothing, so a half-made report never looks finished.
When you open the report, Word may ask whether to update fields. That is expected.
Step 14. Build the PowerPoint deck
The deck uses the same publication as the report, PARENT and METAB. Some of this exercise’s tables have empty cells (subject TA-008 has no values, and some METAB profiles have no λz): they stay empty on their slides.
In 5. Deck (PPTX):
- Under Publication, choose
PARENT and METAB. - Select Set up deck and wait for it to finish. The button then changes to Use this publication, and Edit fragments appears. If you already set up a deck from another publication, the button reads Use this publication: select it and choose Replace presentation.yaml.
- If you like, select Open editor. The deckifyr editor opens under Apps on the left. Double-click the title text on the first slide, type a new title, click outside the text, and select Save at the top of the editor. Then select Publish on the left and select Close editor.
- Select Check.
- Select Build and wait.
- Select Download PPTX and open the file in PowerPoint.
- After Check, the card says “The last check found nothing to fix.”
- After Build, the build appears in the table, with when it was made, the publication and the runs it used.
- The build stops with a message about an unexpected error in the deck tool — make a support bundle (see Troubleshooting). Nothing is recorded for a failed build.
- Check or Build waits — the deck editor or the fragment editor has unsaved changes. Save them, or close the deck editor.
- The editor’s own Build button makes a draft for you to look at. The app does not record it; only Build on the Publish page makes a recorded build.
Step 15. Keep a snapshot of your work (optional)
Version history keeps a copy of files you choose, with Git, on this computer. You don’t need it, and a snapshot is not a run, a publication or a build: those stay as they are.
- Select Version history on the left. Leave Also allow sending… unticked, and select Open version history.
- The page opens under Apps. Select Start version history here, keeping the suggested files to leave out ticked: they are scratch files and caches the app can rebuild.
- Under Before your first snapshot, type your name and email, then select Save my name and email.
- Under Changes, in Editable sources, tick your cleaning recipe (in
.opncafyr/recipes/),report/report.qmdanddeck/presentation.yaml. Leave the rest unticked. - Under Save snapshot, type
Cleaning recipe, report text and slides, then select Save snapshot.
The page confirms the snapshot was saved, and the files you ticked leave the Changes list. Runs and builds carry Protected, and data and results carry May identify subjects. Files you didn’t tick stay listed until you choose to snapshot them.
Review what you made
Your TA-walkthrough folder now holds:
source-data/two_analyte.csv, unchanged;- two completed, sealed runs, one per analyte, each with its own replay check (in the hidden
.opncafyrfolder); OUTPUTS, with the published tables and figures;reportanddeck, with your builds;- if you did Step 15, a hidden
.gitfolder with your first snapshot, and a.gitignorelisting the files left out.
Every build is kept in report/builds or deck/builds, with a record of the exact runs and file fingerprints it used. Download DOCX and Download PPTX work only while the file still matches that record. A report build is marked Out of date once the report text, its settings or the published files change after it was made; render again to get a current one.
Open the DOCX and the PPTX and read them. Check that each table and figure is there, that the captions and footnotes name the right analyte and run, and that the numbers look right to you.
Research use only. This workspace has not been validated for clinical or regulatory decisions.
The report and deck built, which shows the files were assembled as recorded. It does not show that the analysis is right. That judgement is yours.
Where to go next
- Workspace and run provenance: what the study folder records, and why any change makes a new run.
- Cleaning, BLQ and units: every cleaning step, and when the app asks you to choose.
- Build reports and decks: editing the report text and the slides.
- Version history: snapshots of files you choose, and reviewed sending to a shared copy.
Back to: Two-analyte walkthrough