Easily convert temperatures between any combination of Celsius, Kelvin, and Fahrenheit.
note - this package is an example R package for the UBC MDS program.
devtools::install_github("ttimbers/convertemp")Convert from Fahrenheit to Kelvin:
fahr_to_kelvin(32)
#> [1] 273.15In 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.