Skip to content

Commit 7ec8547

Browse files
ismaycclaude
andcommitted
moderndive 0.8.0 on CRAN: bump renv pin, document View() in browser cells
moderndive 0.8.0 was published on CRAN 2026-08-04. - renv.lock: bump the moderndive pin 0.7.0 -> 0.8.0. This is manifest accuracy only; CI does not build against it for this package (renv is disabled and quarto-publish.yml excludes moderndive from the lockfile install, cloning dev moderndive from GitHub instead). - 01-getting-started.qmd: footnote the cheatsheet's View(df) row. This was blocked on CRAN moderndive having no View(); export(View) ships in 0.8.0, so the note can now describe what readers actually see in the browser cells and in rendered Quarto/R Markdown documents. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QwUqU68pXtQH5dDNspZTSs
1 parent c7958ef commit 7ec8547

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

01-getting-started.qmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,12 +628,14 @@ d. An airport
628628
|---|---|---|
629629
| `install.packages("pkg")` | Install a package from CRAN (quotes around name) | `install.packages("dplyr")` |
630630
| `library(pkg)` | Load an already-installed package (no quotes) | `library(dplyr)` |
631-
| `View(df)` | Open a data frame in RStudio's spreadsheet viewer | `View(flights)` |
631+
| `View(df)` | Open a data frame in RStudio's spreadsheet viewer[^view-in-browser] | `View(flights)` |
632632
| `glimpse(df)` | Compact, transposed summary of a data frame | `glimpse(flights)` |
633633
| `kable(df)` | Render a data frame as a formatted table | `kable(airlines)` |
634634

635635
:::
636636

637+
[^view-in-browser]: In the interactive code cells on this page, `View()` comes from the `moderndive` package rather than from RStudio, since there is no viewer pane in the browser. It displays the data frame as a scrollable, searchable table directly below the cell instead. Loading `moderndive` gives you that same behavior when rendering an R Markdown or Quarto document, where RStudio's `View()` would otherwise produce an error.
638+
637639
## Exercises {.unnumbered #sec-getting-started-exercises}
638640

639641
A short set of warm-up exercises using the `olympic_athletes` dataset introduced in @sec-exercise-packages. These prompts focus on inspecting a real-world data frame — they're shorter than later chapters' sets to match Chapter 1's introductory scope. Solutions are available to instructors separately.

renv.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3954,7 +3954,7 @@
39543954
},
39553955
"moderndive": {
39563956
"Package": "moderndive",
3957-
"Version": "0.7.0",
3957+
"Version": "0.8.0",
39583958
"Source": "Repository",
39593959
"Type": "Package",
39603960
"Title": "Tidyverse-Friendly Introductory Linear Regression",

0 commit comments

Comments
 (0)