Skip to content

Commit

Permalink
Stick with the file name bake-sale.xlsx instead of using `bake_sale…
Browse files Browse the repository at this point in the history
….xlsx`
  • Loading branch information
kleintom committed Jan 11, 2025
1 parent f95a94e commit 80f3e05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spreadsheets.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ You can write data back to disk as an Excel file using the `write_xlsx()` functi
```{r}
#| eval: false
write_xlsx(bake_sale, path = "data/bake_sale.xlsx")
write_xlsx(bake_sale, path = "data/bake-sale.xlsx")
```

@fig-bake-sale-excel shows what the data looks like in Excel.
Expand All @@ -359,7 +359,7 @@ These can be turned off by setting `col_names` and `format_headers` arguments to
#| echo: false
#| fig-width: 5
#| fig-cap: |
#| Spreadsheet called bake_sale.xlsx in Excel.
#| Spreadsheet called bake-sale.xlsx in Excel.
#| fig-alt: |
#| Bake sale data frame created earlier in Excel.
Expand All @@ -371,7 +371,7 @@ This makes Excel files unreliable for caching interim results as well.
For alternatives, see @sec-writing-to-a-file.

```{r}
read_excel("data/bake_sale.xlsx")
read_excel("data/bake-sale.xlsx")
```

### Formatted output
Expand Down

0 comments on commit 80f3e05

Please sign in to comment.