Skip to content

Northbreeze/convertemp

 
 

Repository files navigation

convertemp

Easily convert temperatures between any combination of Celsius, Kelvin, and Fahrenheit.

note - this package is an example R package for the UBC MDS program.

Installation

devtools::install_github("ttimbers/convertemp")

Quick demo

Convert from Fahrenheit to Kelvin:

fahr_to_kelvin(32)
#> [1] 273.15

Unit Testing

In this package, I've improved the convertemp R package by using testthat to write automated unit tests for the 6 functions in the package.

[Here] (https://github.com/Northbreeze/convertemp/blob/master/tests/testthat/testex5.R) is the link to my unit test file.

About

R package to convert temperatures between Celsius, Kelvin, and Fahrenheit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 64.6%
  • R 35.4%