Skip to content

Commit

Permalink
add the py_version to analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe-Regouby committed Dec 8, 2023
1 parent a6b0b05 commit 0ea8aea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions inst/examples/simple-rmd/analysis.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,14 @@ r_versions <- card(
)
```

```{r content-python-version}
py_versions <- card(
full_screen = TRUE,
card_header("Python versions"),
sort_content_by_pyversion(rsc_content) |> create_pie_chart("py_version")
)
```

```{r content-type}
content_type <- card(
full_screen = TRUE,
Expand All @@ -256,6 +264,7 @@ layout_column_wrap(
user_roles,
content_access,
r_versions,
py_versions,
content_type
)
```

0 comments on commit 0ea8aea

Please sign in to comment.