Skip to content

Commit 3a18e84

Browse files
authored
Merge pull request #2 from RCONIS/dev/friedrich_pahlke
Standardize branding to lowercase **randomforge** across docs and
2 parents 57323aa + aa79c41 commit 3a18e84

5 files changed

Lines changed: 38 additions & 39 deletions

File tree

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Initial Public Release
44

55
This is the first publicly available version of **randomforge**, released as an
6-
early-stage foundation for the emerging *RandomForge* ecosystem
6+
early-stage foundation for the emerging **randomforge** ecosystem
77
("Innovating the Future of Randomization").
88

99
The 0.1.0 release focuses on establishing the architectural core and enabling

R/pkgname.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#' The package aims to support a broad range of classical,
3434
#' covariate-adaptive, and response-adaptive techniques while
3535
#' enabling reproducibility, auditability, and methodological clarity.
36-
#' Built as part of the open RandomForge initiative ("Innovating the
36+
#' Built as part of the open *randomforge* initiative ("Innovating the
3737
#' Future of Randomization"), the package encourages community
3838
#' collaboration, modular extensions, and contributions from academia,
3939
#' industry, and clinical researchers.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# randomforge
22

3-
**RandomForge — Innovating the Future of Randomization**
3+
**randomforge — Innovating the Future of Randomization**
44

55
`randomforge` is an open, extensible framework for clinical trial
66
randomization methods in R.
@@ -9,7 +9,7 @@ randomization procedures, starting with a flexible implementation of
99
**permuted block randomization** and designed to grow into a broader ecosystem
1010
of randomization methods.
1111

12-
This package is the core engine of the wider **RandomForge** initiative:
12+
This package is the core engine of the wider **randomforge** initiative:
1313
a community-driven effort to innovate the future of clinical trial
1414
randomization.
1515

@@ -23,7 +23,7 @@ Yet many tools currently in use are:
2323
- opaque in how assignments are generated,
2424
- and not designed for collaborative innovation.
2525

26-
**RandomForge** aims to change this by providing an open, shared infrastructure
26+
**randomforge** aims to change this by providing an open, shared infrastructure
2727
for randomization methods – where ideas can grow into trusted, well-documented
2828
and practically usable methods, developed together by the community.
2929

@@ -62,7 +62,7 @@ response-adaptive procedures).
6262
## 🚀 Planned Extensions
6363

6464
While the current release focuses on permuted block randomization, the
65-
RandomForge initiative is designed to cover a much wider range of techniques
65+
**randomforge** initiative is designed to cover a much wider range of techniques
6666
over time, including (but not limited to):
6767

6868
- baseline-adaptive and covariate-adaptive methods (e.g. minimization),

vignettes/randomforge_contribution.Rmd

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ knitr::opts_chunk$set(
1616
)
1717
```
1818

19-
# Introduction
19+
## Introduction
2020

21-
**RandomForge — An Open Project for Clinical Trial Randomization in R**
21+
**randomforge — An Open Project for Clinical Trial Randomization in R**
2222

2323
`randomforge` is a newly started, open-source project on GitHub that aims to
2424
provide a clean and transparent implementation of clinical trial randomization
@@ -38,7 +38,7 @@ This vignette explains how to:
3838
3. Use GitHub effectively even if you are new to it
3939

4040

41-
# 1. Installing randomforge and running a simple randomization
41+
## Installing randomforge and running a simple randomization
4242

4343
At this stage, the package is not yet on CRAN.
4444
You can install the development version directly from GitHub:
@@ -78,8 +78,7 @@ blockSizes <- getBlockSizes(config$treatmentArmIds, 8)
7878
7979
# Create a permuted block randomization method
8080
randomMethodPBR <- getRandomMethodPBR(
81-
blockSizes = blockSizes,
82-
fixedBlockDesignEnabled = FALSE
81+
blockSizes = blockSizes
8382
)
8483
8584
# Create a random allocation value service
@@ -88,12 +87,12 @@ ravService$createNewRandomAllocationValues(config)
8887
8988
# Create a few randomization results
9089
resultList <- lapply(1:8, function(i) {
91-
getNextRandomResult(
90+
suppressMessages(getNextRandomResult(
9291
randomDataBase = randomDataBase,
9392
randomProject = randomProject,
9493
randomMethod = randomMethodPBR,
9594
randomAllocationValueService = ravService
96-
)
95+
))
9796
})
9897
9998
# Convert results to a data frame
@@ -102,7 +101,7 @@ randomDataBase |>
102101
knitr::kable()
103102
```
104103

105-
# 2. How to contribute to randomforge
104+
## How to contribute to randomforge
106105

107106
Contributions of all kinds are welcome:
108107

@@ -118,7 +117,7 @@ get involved.
118117
We are happy to support new contributors.
119118

120119

121-
# 3. Option A: Get invited as a direct contributor
120+
### Option A: Get invited as a direct contributor
122121

123122
If you prefer not to deal with forks or pull requests, you can simply request
124123
to be added as a contributor to the GitHub repository.
@@ -137,24 +136,24 @@ Once added, you will be able to push branches and open pull requests directly
137136
in the main repository.
138137

139138

140-
# 4. Option B: Contribute via Fork (recommended for most users)
139+
### Option B: Contribute via Fork (recommended for most users)
141140

142141
If you are not familiar with GitHub contribution workflows, here is a simple
143142
step-by-step guide.
144143

145-
## Step 1 — Create a GitHub account
144+
#### Step 1 — Create a GitHub account
146145
If you do not already have one, register at
147146
https://github.com
148147

149-
## Step 2 — Open the randomforge repository
148+
#### Step 2 — Open the randomforge repository
150149
Navigate to:
151150
https://github.com/RCONIS/randomforge
152151

153-
## Step 3 — Click “Fork”
152+
#### Step 3 — Click “Fork”
154153
The button is in the upper-right corner.
155154
This creates *your own copy* of the repository under your GitHub account.
156155

157-
## Step 4 — Clone your fork to your local machine
156+
#### Step 4 — Clone your fork to your local machine
158157

159158
```bash
160159
git clone https://github.com/YOUR_USERNAME/randomforge.git
@@ -166,29 +165,29 @@ Then:
166165
cd randomforge
167166
```
168167

169-
## Step 5 — Create a new branch for your change
168+
#### Step 5 — Create a new branch for your change
170169

171170
```bash
172171
git checkout -b my-feature-branch
173172
```
174173

175-
## Step 6 — Make your changes locally
174+
#### Step 6 — Make your changes locally
176175
Edit R files, documentation, tests, examples, or vignettes.
177176

178-
## Step 7 — Commit your changes
177+
#### Step 7 — Commit your changes
179178

180179
```bash
181180
git add .
182181
git commit -m "Add new feature / fix / improvement"
183182
```
184183

185-
## Step 8 — Push your branch to your fork
184+
#### Step 8 — Push your branch to your fork
186185

187186
```bash
188187
git push origin my-feature-branch
189188
```
190189

191-
## Step 9 — Open a Pull Request
190+
#### Step 9 — Open a Pull Request
192191
Go back to your fork on GitHub and click:
193192

194193
**“Compare & pull request”**
@@ -202,7 +201,7 @@ In the Pull Request description, please provide:
202201
We will review all contributions as soon as possible.
203202

204203

205-
# 5. Getting help
204+
## Getting help
206205

207206
If you get stuck at any point — GitHub workflow, code questions, architecture
208207
discussion — feel free to:
@@ -214,8 +213,8 @@ All questions are welcome, especially from newcomers.
214213
We want to make contributing as easy and friendly as possible.
215214

216215

217-
# 6. Thank you
216+
## Thank you
218217

219-
We appreciate your interest in contributing to the RandomForge project.
218+
We appreciate your interest in contributing to the *randomforge* project.
220219
Your ideas and contributions help shape a more open, transparent, and
221220
community-driven future for clinical trial randomization in R.

vignettes/randomforge_getting_started.Rmd

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ knitr::opts_chunk$set(
1616
)
1717
```
1818

19-
# Introduction
19+
## Introduction
2020

2121
`randomforge` is an open-source R package providing a transparent and modular
2222
framework for clinical trial randomization.
@@ -28,7 +28,7 @@ If you are new to randomization frameworks or want a minimal working example,
2828
this is a good place to start.
2929

3030

31-
# Installation
31+
## Installation
3232

3333
At this stage, `randomforge` is available only on GitHub:
3434

@@ -38,7 +38,7 @@ At this stage, `randomforge` is available only on GitHub:
3838
remotes::install_github("RCONIS/randomforge")
3939
```
4040

41-
# Creating a Randomization Project
41+
## Creating a Randomization Project
4242

4343
Every workflow begins with a `RandomProject` stored inside an in-memory
4444
`RandomDataBase`:
@@ -59,7 +59,7 @@ randomDataBase$persist(randomProject)
5959
A project groups all configurations, subjects, and resulting allocations.
6060

6161

62-
# Defining a Randomization Configuration
62+
## Defining a Randomization Configuration
6363

6464
A configuration defines:
6565

@@ -86,7 +86,7 @@ randomDataBase$persist(config)
8686
```
8787

8888

89-
# Creating a Block Randomization Method
89+
## Creating a Block Randomization Method
9090

9191
`randomforge` currently supports **permuted block randomization** (PBR) as a
9292
fully working implementation.
@@ -108,7 +108,7 @@ randomMethodPBR <- getRandomMethodPBR(
108108
)
109109
```
110110

111-
# Create a Random Allocation Value Service
111+
## Create a Random Allocation Value Service
112112

113113
```{r}
114114
# Create a random allocation value service
@@ -125,7 +125,7 @@ ravService |>
125125

126126
Other key performance indicators are planned for future releases.
127127

128-
# Running Randomization
128+
## Running Randomization
129129

130130
To generate assignments, create a random allocation value service, then call
131131
`getNextRandomResult()`.
@@ -147,7 +147,7 @@ ravService |>
147147
plot()
148148
```
149149

150-
# Inspecting the Results
150+
## Inspecting the Results
151151

152152
All subjects and allocations stored in the database can be displayed as a data
153153
frame:
@@ -168,7 +168,7 @@ resultData |>
168168
knitr::kable()
169169
```
170170

171-
# Exporting to Excel (Optional)
171+
## Exporting to Excel (Optional)
172172

173173
`randomforge` supports exporting subject lists or randomization results via
174174
`writeExcelFile()`:
@@ -179,7 +179,7 @@ writeExcelFile(resultData, "randomization_list.xlsx")
179179
```
180180

181181

182-
# What’s Next?
182+
## What’s Next?
183183

184184
The project is in an early phase, and many extensions are planned:
185185

@@ -194,7 +194,7 @@ To learn how to contribute, see the vignette:
194194
**`vignette("randomforge_contribution")`**
195195

196196

197-
# Thank You
197+
## Thank You
198198

199199
We hope this vignette helps you get started with `randomforge`.
200200
Feedback and suggestions are very welcome via GitHub issues.

0 commit comments

Comments
 (0)