Skip to content

Latest commit

 

History

History
80 lines (55 loc) · 2.94 KB

cran-comments.md

File metadata and controls

80 lines (55 loc) · 2.94 KB

R CMD check results

Run on 2022-09-13

-- R CMD check results ------------------------------------------- tidyrgee 0.1.0 ---- Duration: 58.1s

0 errors √ | 0 warnings √ | 0 notes √

There were no ERRORs , NOTEs or WARNINGs.

Downstream dependencies

There are currently no downstream dependencies for this package.

Notes

Below I have quoted and numbered CRAN feedback from the first submission. Below each number point I have provided a response.

1. (problem) "Please omit the redundant "in R" in your description."

1. (response) The description has been modified as requested.

2. (problem) "Please provide a link to the used webservices (Earth Engine) to the description field of your DESCRIPTION file in the form http:... or https:... with angle brackets for auto-linking and no space after 'http:' and 'https:'."

2. (response) The link has been added as requested.

3. (problem) "Please write TRUE and FALSE instead of T and F."

3. (response) TRUE and FALSE have been added to functions where necessary.

4. (problem) "Please don't use "T" or "F" as vector names. 'T' and 'F' instead of TRUE and FALSE: man/clip.Rd: clip(x, y, return_tidyee = T) man/filter_bounds.Rd: filter_bounds(x, y, use_tidyee_index = F, return_tidyee = T) man/summarise.Rd: {summarise}{ee.imagecollection.ImageCollection}(.data, stat, ...) {summarise}{tidyee}(.data, stat, ..., join_bands = T)"

4. (response) T and F have been replaced by TRUE and FALSE as requested.

5. (problem) "We see: Unexecutable code in man/set_idx.Rd Please look into this.

\dontrun{} should only be used if the example really cannot be executed (e.g. because of missing additional software, missing API keys, ...) by the user. That's why wrapping examples in \dontrun{} adds the comment ("# Not run:") as a warning for the user. Does not seem necessary. Please replace \dontrun with \donttest.

Please unwrap the examples if they are executable in < 5 sec, or replace \dontrun{} with \donttest{}."

5. (response) Our package relies on API credentials so the functions cannot be run without. For this reason we think \dontrun{} is the best option for @examples.

6. (problem) "You write information messages to the console that cannot be easily suppressed. It is more R like to generate objects that can be used to extract the information a user is interested in, and then print() that object. Instead of print()/cat() rather use message()/warning() or if(verbose)cat(..) (or maybe stop()) if you really have to write text to the console. (except for print, summary, interactive functions)"

6. (response) We changed all cat() and print() calls to message as requested.

7. (problem) "Please do not modify the global environment (e.g. by using <<-) in your functions. This is not allowed by the CRAN policies. -> R/zzz.R"

7. (response) This file has been removed after being deemed unnecessary.