LoslegenKostenlos starten

Set up your package for testing

Now that you've developed your unitConverter R package with functions, data, vignettes, and help files, it's time to set up a testing framework to ensure the functionality of your package. Setting up a testing framework for your unitConverter R package is crucial to validate its functionality, catch bugs, and ensure that future modifications or updates don't introduce unexpected issues.

The usethis package and the unitConverter package at this point in development have been loaded for you.

Diese Übung ist Teil des Kurses

<Kurs>Developing R Packages</Kurs>
Kurs ansehen

Übungsanweisungen

  • Set up a testing framework in your unitConverter package.

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Create testing framework template
___
Code bearbeiten und ausführen