Developing R Packages
Jasmin Ludolf
Content Developer

library(usethis)create_package("unitConverter")


dir(".")
[1] "DESCRIPTION" "NAMESPACE" "R"
library(readr)
temperature_data <- read_csv("data-raw/temperature_data.csv")
head(temperature_data)
# A tibble: 6 × 2
value unit
<dbl> <chr>
1 36.3 Celsius
2 31.3 Celsius
3 224. Kelvin
4 45.0 Fahrenheit
5 58.0 Celsius
6 184. Kelvin

use_data(temperature_data)

R Markdown: Integrates code with Markdown
use_rmarkdown_template("Temp Examples")



Developing R Packages