시작하기무료로 시작하기

Run all tests in the package

Running all of the tests on the unitConverter package is important to verify the overall functionality and correctness of the package. It ensures that all the functions in the package behave as expected, produce the correct output, and handle different scenarios appropriately. By running tests, you can catch any potential bugs or regressions introduced during development or modifications to the package. It also promotes code quality, reliability, and confidence in the package's performance, making it more robust and trustworthy for users.

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

이 연습은 강의의 일부입니다

Developing R Packages

강의 보기

연습 안내

  • Run all of the tests in the unitConverter package with a single function call.

실습형 인터랙티브 연습

이 예제를 이 샘플 코드를 완성하여 풀어보세요.

# Run all package tests
___
코드 편집 및 실행