Skip to content

Commit 60c8cf8

Browse files
committed
Merge branch 'ISCR_conference' of https://github.com/pharmaverse/blog into ISCR_conference
2 parents 0bdc444 + 7bcc54f commit 60c8cf8

File tree

7 files changed

+146
-1
lines changed

7 files changed

+146
-1
lines changed

index.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ listing:
1212
sort-ui: true
1313
filter-ui: true
1414
page-layout: full
15-
margin-header: Get notified of new posts by joining [pharmaverse/slack](https://pharmaverse.slack.com)
15+
margin-header: Get notified of new posts by joining [pharmaverse/slack](https://pharmaverse.slack.com) Be sure to check out [https://www.r-bloggers.com]( https://www.r-bloggers.com)
1616
title-block-banner: true
1717
#image: frontimage.png
1818
---

inst/WORDLIST.txt

+2
Original file line numberDiff line numberDiff line change
@@ -643,3 +643,5 @@ webR
643643
WebR
644644
wfk
645645
WnpvVgmyE
646+
Dony
647+
Unardi

media/teal.png

449 KB
Loading
+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# markdown helpers --------------------------------------------------------
2+
3+
markdown_appendix <- function(name, content) {
4+
paste(paste("##", name, "{.appendix}"), " ", content, sep = "\n")
5+
}
6+
markdown_link <- function(text, path) {
7+
paste0("[", text, "](", path, ")")
8+
}
9+
10+
11+
12+
# worker functions --------------------------------------------------------
13+
14+
insert_source <- function(repo_spec, name,
15+
collection = "posts",
16+
branch = "main",
17+
host = "https://github.com",
18+
text = "source code") {
19+
path <- paste(
20+
host,
21+
repo_spec,
22+
"tree",
23+
branch,
24+
collection,
25+
name,
26+
"code_sections.qmd",
27+
sep = "/"
28+
)
29+
return(markdown_link(text, path))
30+
}
31+
32+
insert_timestamp <- function(tzone = Sys.timezone()) {
33+
time <- lubridate::now(tzone = tzone)
34+
stamp <- as.character(time, tz = tzone, usetz = TRUE)
35+
return(stamp)
36+
}
37+
38+
insert_lockfile <- function(repo_spec, name,
39+
collection = "posts",
40+
branch = "main",
41+
host = "https://github.com",
42+
text = "R environment") {
43+
path <- paste(
44+
host,
45+
repo_spec,
46+
"tree",
47+
branch,
48+
collection,
49+
name,
50+
"renv.lock",
51+
sep = "/"
52+
)
53+
return(markdown_link(text, path))
54+
}
55+
56+
57+
58+
# top level function ------------------------------------------------------
59+
60+
insert_appendix <- function(repo_spec, name, collection = "posts") {
61+
appendices <- paste(
62+
markdown_appendix(
63+
name = "Last updated",
64+
content = insert_timestamp()
65+
),
66+
" ",
67+
markdown_appendix(
68+
name = "Details",
69+
content = paste(
70+
insert_source(repo_spec, name, collection),
71+
insert_lockfile(repo_spec, name, collection),
72+
sep = ", "
73+
)
74+
),
75+
sep = "\n"
76+
)
77+
knitr::asis_output(appendices)
78+
}
626 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
title: "teal is now available on CRAN 🎉"
3+
author:
4+
- name: Dony Unardi
5+
description: "Announcing the release of teal v0.15.0 on CRAN!"
6+
date: "2024-02-14"
7+
# please do not use any non-default categories.
8+
# You can find the default categories in the repository README.md
9+
categories: [community]
10+
# feel free to change the image
11+
image: "teal.png"
12+
---
13+
14+
<!--------------- typical setup ----------------->
15+
16+
```{r setup, include=FALSE}
17+
long_slug <- "2024-02-13_teal_on_cran"
18+
# renv::use(lockfile = "renv.lock")
19+
```
20+
21+
<!--------------- post begins here ----------------->
22+
![](teal.png){fig-align="center" width="220"}
23+
24+
We're thrilled to announce that `teal` v0.15.0 has been released on CRAN!
25+
26+
This marks a significant milestone in our journey, and we're incredibly excited about the possibilities `teal` brings to the R community, particularly within clinical trial settings.
27+
28+
One of the most notable changes in this release is the introduction of `teal_data` class. This addition enhances how data is handled within the `teal` framework, paving the way for custom data modules tailored to the needs of our R users, both inside and outside the clinical trial space. With `teal_data`, users can expect improved efficiency and flexibility in managing their data, opening doors to innovative approaches in data analysis and visualization.
29+
30+
While we're enthusiastic about the advancements `teal` v0.15.0 brings, we have to introduce breaking changes to this version.
31+
32+
But worry not, we've got you covered!
33+
34+
To ease the transition, we've provided comprehensive guidance on migrating your applications from version 0.14.0 to 0.15.0. Check out our migration guide [here](https://github.com/insightsengineering/teal/discussions/945), and feel free to ask any questions you may have in the discussion thread.
35+
36+
As we roll out `teal` v0.15.0, we're also working diligently on releasing *teal modules* packages to CRAN to fully support this version. While we're still in the process, we encourage you to dive into the latest `teal` release and start exploring its capabilities. To get started, make sure to install the development versions of `teal.transform`, `teal.reporter`, and any other modules you're using.
37+
38+
To simplify the process, you can execute the following code to verify that you have the correct `teal` and *teal modules* versions:
39+
```r
40+
# installing latest stable release from CRAN
41+
install.packages(c("teal.logger", "teal.code", "teal.widgets", "teal.data", "teal.slice", "teal"))
42+
43+
# installing dev version from pharmaverse
44+
install.packages(c("teal.reporter", "teal.transform", "teal.modules.general", "teal.modules.clinical"), repos = c("https://pharmaverse.r-universe.dev", getOption("repos")))
45+
```
46+
47+
Rest assured, we're committed to completing the release of the *teal modules* as swiftly as possible to provide users with an uninterrupted experience.
48+
49+
As always, thank you for your continued support and enthusiasm for `teal`. We can't wait to see the incredible ways in which `teal` empowers you to revolutionize your data exploration in R.
50+
51+
For further details about the release, please refer to [this link](https://github.com/insightsengineering/teal/releases/tag/v0.15.0).
52+
53+
Feel free to explore the `teal` website [here](https://insightsengineering.github.io/teal/latest-tag/) to learn more about the latest features.
54+
55+
![](teal_screenshot.jpg){fig-align="center"}
56+
57+
<!--------------- appendices go here ----------------->
58+
59+
```{r, echo=FALSE}
60+
source("appendix.R")
61+
insert_appendix(
62+
repo_spec = "pharmaverse/blog",
63+
name = long_slug
64+
)
65+
```
Loading

0 commit comments

Comments
 (0)