diff --git a/.nojekyll b/.nojekyll index 0ec5f64..50efc0e 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -c321afea \ No newline at end of file +b9800767 \ No newline at end of file diff --git a/about.html b/about.html index 09450da..8003b8a 100644 --- a/about.html +++ b/about.html @@ -297,63 +297,64 @@
─ Session info ───────────────────────────────────────────────────────────────
setting value
- version R version 4.4.1 (2024-06-14 ucrt)
- os Windows 10 x64 (build 19045)
- system x86_64, mingw32
- ui RTerm
+ version R version 4.4.0 (2024-04-24)
+ os macOS Ventura 13.6.9
+ system x86_64, darwin20
+ ui X11
language (EN)
- collate German_Austria.utf8
- ctype German_Austria.utf8
- tz Europe/Vienna
- date 2024-10-03
- pandoc 3.2 @ C:\\Users\\benia\\AppData\\Local\\Programs\\Quarto\\bin\\tools/ (via rmarkdown)
+ collate en_US.UTF-8
+ ctype en_US.UTF-8
+ tz America/New_York
+ date 2024-09-26
+ pandoc NA (via rmarkdown)
─ Packages ───────────────────────────────────────────────────────────────────
! package * version date (UTC) lib source
P cachem 1.1.0 2024-05-16 [?] RSPM
P cli 3.6.3 2024-06-21 [?] RSPM
- P devtools * 2.4.5 2022-10-11 [?] CRAN (R 4.4.1)
+ P devtools * 2.4.5 2022-10-11 [?] RSPM
P digest 0.6.36 2024-06-23 [?] RSPM
- P ellipsis 0.3.2 2021-04-29 [?] CRAN (R 4.4.1)
+ P ellipsis 0.3.2 2021-04-29 [?] RSPM
P evaluate 0.24.0 2024-06-10 [?] RSPM
P fastmap 1.2.0 2024-05-15 [?] RSPM
P fs 1.6.4 2024-04-25 [?] RSPM
P glue 1.7.0 2024-01-09 [?] RSPM
P htmltools 0.5.8.1 2024-04-04 [?] RSPM
- P htmlwidgets 1.6.4 2023-12-06 [?] CRAN (R 4.4.1)
- P httpuv 1.6.15 2024-03-26 [?] CRAN (R 4.4.1)
+ P htmlwidgets 1.6.4 2023-12-06 [?] RSPM
+ P httpuv 1.6.15 2024-03-26 [?] RSPM
P jsonlite 1.8.8 2023-12-04 [?] RSPM
- P knitr 1.48 2024-07-07 [?] CRAN (R 4.4.1)
- P later 1.3.2 2023-12-06 [?] CRAN (R 4.4.1)
+ P knitr 1.48 2024-07-07 [?] RSPM
+ P later 1.3.2 2023-12-06 [?] RSPM
P lifecycle 1.0.4 2023-11-07 [?] RSPM
P magrittr 2.0.3 2022-03-30 [?] RSPM
P memoise 2.0.1 2021-11-26 [?] RSPM
P mime 0.12 2021-09-28 [?] RSPM
- P miniUI 0.1.1.1 2018-05-18 [?] CRAN (R 4.4.1)
- P pkgbuild 1.4.4 2024-03-17 [?] CRAN (R 4.4.0)
- P pkgload 1.4.0 2024-06-28 [?] CRAN (R 4.4.1)
- P profvis 0.3.8 2023-05-02 [?] CRAN (R 4.4.1)
- P promises 1.3.0 2024-04-05 [?] CRAN (R 4.4.1)
- P purrr 1.0.2 2023-08-10 [?] CRAN (R 4.4.0)
+ P miniUI 0.1.1.1 2018-05-18 [?] RSPM
+ P pkgbuild 1.4.4 2024-03-17 [?] RSPM
+ P pkgload 1.4.0 2024-06-28 [?] RSPM
+ P profvis 0.3.8 2023-05-02 [?] RSPM
+ P promises 1.3.0 2024-04-05 [?] RSPM
+ P purrr 1.0.2 2023-08-10 [?] RSPM
P R6 2.5.1 2021-08-19 [?] RSPM
P Rcpp 1.0.13 2024-07-17 [?] RSPM
- P remotes 2.5.0 2024-03-17 [?] CRAN (R 4.4.1)
+ P remotes 2.5.0 2024-03-17 [?] RSPM
renv 1.0.7 2024-04-11 [1] RSPM (R 4.4.0)
P rlang 1.1.4 2024-06-04 [?] RSPM
P rmarkdown 2.27 2024-05-17 [?] RSPM
- P sessioninfo 1.2.2 2021-12-06 [?] CRAN (R 4.4.1)
+ P rstudioapi 0.16.0 2024-03-24 [?] RSPM
+ P sessioninfo 1.2.2 2021-12-06 [?] RSPM
P shiny 1.9.1 2024-08-01 [?] RSPM
P stringi 1.8.4 2024-05-06 [?] RSPM
P stringr 1.5.1 2023-11-14 [?] RSPM
- P urlchecker 1.0.1 2021-11-30 [?] CRAN (R 4.4.1)
+ P urlchecker 1.0.1 2021-11-30 [?] RSPM
P usethis * 3.0.0 2024-07-29 [?] RSPM
P vctrs 0.6.5 2023-12-01 [?] RSPM
P xfun 0.46 2024-07-18 [?] RSPM
- P xtable 1.8-4 2019-04-21 [?] CRAN (R 4.4.1)
- P yaml 2.3.10 2024-07-26 [?] RSPM
+ P xtable 1.8-4 2019-04-21 [?] RSPM
+ P yaml 2.3.8 2023-12-11 [?] RSPM
- [1] C:/Users/benia/Desktop/cran-cookbook/cran-cookbook/website/renv/library/windows/R-4.4/x86_64-w64-mingw32
- [2] C:/Users/benia/AppData/Local/R/cache/R/renv/sandbox/windows/R-4.4/x86_64-w64-mingw32/e0da0d43
+ [1] /Users/jasminedaly/Desktop/R-directory/cran-cookbook/website/renv/library/macos/R-4.4/x86_64-apple-darwin20
+ [2] /Users/jasminedaly/Library/Caches/org.R-project.R/R/renv/sandbox/macos/R-4.4/x86_64-apple-darwin20/2edc1867
P ── Loaded and on-disk path mismatch.
diff --git a/code_issues.html b/code_issues.html
index 0510b4c..57f71cf 100644
--- a/code_issues.html
+++ b/code_issues.html
@@ -264,6 +264,14 @@ On this page
Details
+ Setting options(warn = -1)
+
… so do not use it to find out if a named package is installed (use find.package
or system.file
) nor to find out if a package is usable (call requireNamespace
or require
and check the return value) nor to find details of a small number of packages (use packageDescription
).
Ideally, use requireNamespace("pkg")
or require("pkg")
, both return FALSE
if a package isn’t available, and throw an error conditionally. For more details on package installations in your code see the corresponding recipe, (yet to come).
options(warn = -1)
You are setting options(warn = -1)
.
Consider using suppressWarnings()
instead of options(warn = -1)
if you absolutely need to suppress warnings.
CRAN doesn’t allow negative warn
options. This setting will turn off all warning messages. Even if the settings are correctly restored, as explained in the Change of Options recipe, the submission will be rejected.
CRAN recommends using suppressWarnings()
, which disables warnings only for the specific expression it’s applied to, rather than globally.
If your package uses the older approach of specifying Maintainer and Author separately in the DESCRIPTION file, it won’t be rejected for that reason alone. However, this method is discouraged, and any manual modifications that differ from the auto-generated fields will result in automatic rejection by CRAN.
+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.
+All wrappers must still be placed inside the \examples{}
tag.
Ideally, CRAN packages should be under 5 Mb. There are very few exceptions mostly for a larger inst/
folder (and these will trigger flags for every future submission). They must be approved by a CRAN team member and since every accepted version is saved on CRAN, they are very hesitant.
It’s best to minimize the package size. Large datasets can be hosted externally, such as on GitHub, and downloaded when necessary. Consider placing them in a separate data package that requires less frequent updates.
+At a upper limit of the package tarball the CRAN policy states 10 Mb. It is recommended to include third-party source software within the package. If that requires larger tarballs, a modestly increased limit can be requested at submission.
+If your package exceeds the recommended 5 Mb limit, it will generate a NOTE in the R CMD Check. You can explain why the size is okay by providing details in the cran-comments.md file.
+