Articles by R some blog

Introducing the {pipeflow} package

December 21, 2024 | R some blog

Efficiently managing complex data analysis workflows can be a challenge. In standard R programming, chaining functions, tracking intermediate results, and maintaining dependencies between steps often lead to cluttered code that is difficult to scale or... [Read more...]

Nested unit tests with testthat

October 6, 2024 | R some blog

The testthat package is the most widely used tool for unit testing in R. However, many users may not be aware of the possibility to nest test blocks within each other. In this post, I demonstrate how this underused feature provides a great way to struc... [Read more...]

container: v1.0.0 on CRAN

December 16, 2021 | R some blog

The update contains some breaking changes and brings a lot of new features and operators, which markedly improves using containers in both interactive R sessions and code development. Also there is a new class dict.table to support the data.table pack...
[Read more...]

Why I don’t use R Markdown’s ref.label

August 7, 2020 | R some blog

R Markdown provides the chunk option `ref.label` to reuse chunks. In this post, I'll show potential problems with this approach and present an easy and safe alternative. Motivation Consider you have defined variable x,
x = 1
and define another chunk, where you simply add one up
```{r addOne}
sum = x + 1
sum
```
resulting in
[1] 2
...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)