Skip to content

Personalized insertStructure() FUN with study number in README.Rmd, instructions.md, CodeToRun.R - #173

Merged
cebarboza merged 3 commits into
developfrom
171-addstudynumber
Oct 15, 2026
Merged

cebarboza merged 3 commits into
developfrom
171-addstudynumber

Conversation

@laacri

@laacri laacri commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Changes:

  • Added check in insertStructure() FUN to detect study number PX-CY-ZZZ in parameter studyName
  • Added defaultContentREADME() FUN to load default content in README.Rmd
  • Added defaultContentInstructions() FUN to load default content in instructions.md
  • Added defaultContentCodeToRun() FUN to load default content in extras/CodeToRun.R
  • Personalized all of the above with study number
  • Added unit test in tests/testthat/test-insertStructure.R

Issues:
Closes #171

@laacri
laacri requested a review from cebarboza October 14, 2026 14:35
@laacri laacri self-assigned this Oct 14, 2026
@laacri laacri added the enhancement New feature or request label Oct 14, 2026
@laacri laacri linked an issue Oct 14, 2026 that may be closed by this pull request
Comment thread R/insertStructure.R
"[Study title]",
"=============",
"",
paste0("**DARWIN EU ID:** ", studyNumber),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks!

@cebarboza
cebarboza merged commit e89bf36 into develop Oct 15, 2026
2 of 5 checks passed
@cebarboza
cebarboza deleted the 171-addstudynumber branch October 15, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Personalize studyGenerics with study number

2 participants