Open Source in Pharma 2025 Training Badge
Introduction to building (better) R packages

Distributed by:

Issued to

Szymon Myrta

Want to report a typo or a mistake?

Credential Verification

Issue date: November 17, 2025

ID: f9768fed-9bef-40a8-80ef-522089333f68

R/Pharma logo

Issued by

VERIFIED

R/Pharma

R/Pharma is a scientifically & industry oriented, collegial online conference focused on the use of R in the development of pharmaceuticals, with breakout in-person and APAC satellite events.

Type

Training

Level

Foundational

Format

Online

Duration

120 minutes

Price

Free

Description

There are many benefits to turning your R scripts or functions into a package, like making your code easier to re-use, easier to share with others, easier to document, and easier to test. But the process of writing a package can feel intimidating, especially if you haven't done it before. But it doesn't need to! In this interactive workshop, we'll discuss:* What things you need to make a package and how to create them* How to write functions (in a package-friendly way) and add them to a package* How to write documentation and examples for functions* Best practices for package development* How to share your package with other people* Useful resources. By the end of this workshop, you will have made an R package! The session aims to be introductory, so you don't need any previous experience of building R packages (or even writing functions!), but some basic knowledge of R will be useful. If you're already a seasoned R package developer, you're also welcome to attend and hopefully you'll still pick up a few package development tips!

Skills

Code Reusability

Documentation Writing

Function Development

Package Development

Package Testing

R Programming

Reproducibility

Software Development Best Practices

Version Control

Earning Criteria

Participation

Attending and completing 75% of class objectives