::toTitleCase("web application framework for R") tools
[1] "Web Application Framework for R"
The automatic spell check has flagged a software name as incorrect and results in a NOTE.
All references to names of software, packages and API names in the description section of the DESCRIPTION file should be wrapped in single quotes. e.g.: ‘ggplot2’, ‘Python’, etc.
Words in single quotes are not flagged by the automatic spell check and may be used when appropriate to include references to software names only.
The description section in the DESCRIPTION file of the ‘readr’ package provides an example which uses single quotes around the package name and file extensions:
Description: The goal of 'readr' is to provide a fast and friendly way to
read rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed
to flexibly parse many types of data found in the wild, while still
cleanly failing when data unexpectedly changes.
You are using acronyms in your DESCRIPTION file or they are flagged by the automatic spell check.
Document all non-obvious acronyms in the cran-comments.md file to facilitate the CRAN team review.
Most acronyms that are not widely known should be explained. For example, you don’t have to explain OLS, SEO, or DNA but explanations should be provided for: MEFM or OCCDS. If you are unsure of the acronyms common knowledge, please document all acronyms in the package.
Some licenses do not need to be added verbatim, instead they are referenced in the DESCRIPTION file and the CRAN template is added to the package. You can find the template at the CRAN website.
Remove the reference + file LICENSE
and delete the LICENSE file.
Most licenses don’t need an additional file as these are part of R. The list of which licenses that do require an additional file can be accessed within R by searching for Note: this is a template, needs + file LICENSE:
<- list.files(path = R.home(), "license.db", full.names = TRUE, recursive = TRUE)
path_licenses <- as.data.frame(read.dcf(path_licenses)) licenses_doc
If an additional file is needed, it should only specify the author and year for a MIT file or year, copyright holder, and organization for a BSD file.
Licenses should be FOSS, or allowed by R.
The package Title field in the DESCRIPTION file is not in Title Case and the first letter of some or all of the words in the title are lowercase.
The package Title field in the DESCRIPTION file must be in Title Case, except words like “a”, “the” or “of”.
Determining Title Case automatically can be challenging due to word significance being only known by the package author. The function toTitleCase()
can assist with transforming sentences into Title Case from the ‘tools’ package.
::toTitleCase("web application framework for R") tools
[1] "Web Application Framework for R"
There are some exceptions to using Title Case for quoting longer works like book titles and shorter works like research papers.
It is also not recommended to mention package names in the Title.
The reference link in the Description field is incorrectly formatted or isn’t clickable.
Remove the space after <doi:…> or <https:…> to enable the reference link. Write the reference in the form: Authors (year) <doi:…>.
Ideally, each package should include at least one reference in the description text to help users further explore the theory behind the package. These references should be formatted as shown in the ‘Rcpp’ package:
Description: The 'Rcpp' package provides R functions as well as C++ classes which
offer a seamless integration of R and C++. Many R data types and objects can be
mapped back and forth to C++ equivalents which facilitates both writing of new
code as well as easier integration of third-party libraries. Documentation
about 'Rcpp' is provided by several vignettes included in this package, via the
'Rcpp Gallery' site at <https://gallery.rcpp.org>, the paper by Eddelbuettel and
Francois (2011, <doi:10.18637/jss.v040.i08>), the book by Eddelbuettel (2013,
<doi:10.1007/978-1-4614-6868-4>) and the paper by Eddelbuettel and Balamuta (2018,
<doi:10.1080/00031305.2017.1375990>); see 'citation("Rcpp")' for details.
Including a reference in the Description field is optional, and your package will not be archived if one is missing. You can also use the cran-comments.md file to provide additional references or information.