5/17/2023 0 Comments Create an r package in rstudioPermissive licenses allow the code to be copied, modified in any way, and published as long as the license is preserved. There are two major types of open-source licenses - permissive and copyleft. In the US, copyright is automatic: if you don’t choose a license for your software, no one else can use it! People or organizations that provided financial supportįor the list of other roles, see help topic for the person() function. Person who translated all or part of the package code to R from another language. Thesis advisor (if package is a part of a thesis) Person who collected code but did not make substantial contributionĪuthors who have made smaller contributions (e.g. patches) Role = c(ORCID = "0000-0001-0314-1592"))Īuthors, who provided substantial contributions to the package To list the package authors and maintainers, use field: = "John", If there are some optional functionality in our package that uses some other packages, they need to be listed in the Suggests field. ggplot2, dplyr, etc.) we will need to list them in the Imports field. If our package uses functions from other R packages (e.g. There are two other fields that are not present in the DESCRIPTION file but which we might need to add later - Imports and Suggests. It is important to set these fields approprietly and provide a good Title and Description for your package as this data will be displayed on the CRAN Download webpage: When values span multiple lines, they need to be indented. License: `use_mit_license()`, `use_gpl3_license()` or friends to pick aĮach line consists of a field name and a value, separated by a colon. ![]() Version: "Last",, role = c("aut", "cre"),ĭescription: What the package does (one paragraph). Title: What the Package Does (One Line, Title Case) By default it looks like this: Package: myutils ![]() ![]() Let’s open the DESCRIPTION file, created by the create() function. 4.2 GitHub for sharing package with othersĢ.4 DESCRIPTION file: R package information.2.6 Summary: Create new R Package workflow.2.4 DESCRIPTION file: R package information.
0 Comments
Leave a Reply. |