Finalize your DESCRIPTION file
The DESCRIPTION file is a crucial component of an R package as it provides essential metadata and information about the package. It serves as a central hub for describing the package's title, version, authorship, dependencies, and other key details. The DESCRIPTION file is used for package installation, distribution, and documentation, ensuring proper identification and functioning of the package within the R ecosystem.
It stores many different useful fields for documenting information about the package including the Title, Version, Authors@R, and Description components.
이 연습은 강의의 일부입니다
Developing R Packages
연습 안내
- Update the
Titlefield to beUnit Conversion Utilities for Distance, Time, Weight, and Temperature. - Update the
Versionfield to be0.1.0. - Update the
Authors@Rfield to be"R"as thegivenname,"User"as thefamilyname, nomiddlename, and email[email protected]. - Update the
Descriptionfield to beThe package provides a collection of utility functions for converting distance, time, weight, and temperature values..
실습형 인터랙티브 연습
이 예제를 이 샘플 코드를 완성하여 풀어보세요.
{"DESCRIPTION.Rmd":"Package: unitConverter \nTitle: What the Package Does (One Line, Title Case) \nVersion: 0.0.0.9000 \nAuthors@R: \n person(\"First\", \"Last\", , \n \"[email protected]\", \n role = c(\"aut\", \"cre\"))\nDescription: What the package does (one paragraph). \nLicense: CC0 \nEncoding: UTF-8 \nRoxygen: list(markdown = TRUE) \nRoxygenNote: 7.2.3 \nDepends: \n R (>= 2.10) \nLazyData: true \nSuggests: \n ggplot2 (>= 3.0.0), \n tibble, \n knitr, \n rmarkdown, \n testthat (>= 3.0.0) \nVignetteBuilder: knitr \nConfig/testthat/edition: 3\n\n\n"}