-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forcis: An R client to access the FORCIS database #660
Comments
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type |
🚀 Editor check started 👋 |
Checks for forcis (v0.1.0)git hash: e80b91c5
Package License: GPL (>= 2) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. basefile.path (11), c (7), which (7), data.frame (6), for (6), seq_len (6), suppressWarnings (6), length (5), list.files (5), rbind (5), unique (5), as.numeric (4), colnames (3), tryCatch (3), url (3), drop (2), file (2), format (2), lapply (2), months (2), paste0 (2), strsplit (2), unlist (2), as.Date (1), gsub (1), nrow (1), options (1), readline (1), readLines (1), which.max (1) forcisget_species_names (11), data_to_sf (5), species_list (5), get_available_versions (3), get_metadata (3), cpr_north_filename (2), cpr_south_filename (2), get_current_version (2), get_latest_version (2), add_data_type (1), check_field_in_data (1), check_if_character (1), check_if_df (1), check_if_path_exists (1), check_if_valid_taxonomy (1), check_required_columns (1), check_unique_taxonomy (1), check_version (1), compute_abundances (1), compute_concentrations (1), compute_frequencies (1), convert_to_long_format (1), crs_robinson (1), data_types (1), date_format (1), download_file (1), download_forcis_db (1), filter_by_bbox (1), filter_by_month (1), filter_by_ocean (1), filter_by_polygon (1), filter_by_species (1), filter_by_year (1), geom_basemap (1), get_data_type (1), get_required_columns (1), get_version_metadata (1), plankton_net_filename (1), pump_filename (1), sediment_trap_filename (1) utilsdata (55), download.file (1) sfst_intersects (6), st_bbox (3), st_crs (2), st_as_sf (1) vroomvroom (10) graphicspolygon (3) jsonliteread_json (3) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
11082922089 | pages build and deployment | success | 702763 | 164 | 2024-09-28 |
11082912111 | pkgdown | success | e80b91 | 199 | 2024-09-28 |
11082809930 | R CMD Check | success | e80b91 | 198 | 2024-09-28 |
11082809923 | Test coverage | success | e80b91 | 94 | 2024-09-28 |
11082912112 | Update CITATION.cff | success | e80b91 | 23 | 2024-09-28 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following check_fail:
- no_import_package_as_a_whole
Test coverage with covr
Package coverage: 97.38
Cyclocomplexity with cyclocomp
No functions have cyclocomplexity >= 15
Static code analyses with lintr
lintr found the following 7 potential issues:
message | number of times |
---|---|
Avoid changing the working directory, or restore it in on.exit | 2 |
Avoid library() and require() calls in packages | 5 |
Package Versions
package | version |
---|---|
pkgstats | 0.1.6.17 |
pkgcheck | 0.1.2.58 |
Editor-in-Chief Instructions:
This package is in top shape and may be passed on to a handling editor
@ropensci-review-bot assign @beatrizmilz as editor |
Assigned! @beatrizmilz is now the editor |
Hi @ahasverus! |
Editor checks:
Editor commentsHi @ahasverus ! Congratulations for you and the team for this great package, and also for the [publication of the data paper on Nature] (https://www.nature.com/articles/s41597-023-02264-2). The comments below are related to the
For example: How it is now:
Idea: (this is just an example)
From what I checked in some tests (eg. test-plot_record_by_month.R), the tests verify the class of the plot created.
|
Hi @beatrizmilz! Thank you for this first round of comments. I will start looking into them in the next few days and come back to you as soon as possible. |
Hi! I hope the comments are helpful. The comments about testing are the most important, since they are recommendations from the dev guide! |
Hi @beatrizmilz! No, all your comments are very useful.
Answer: Thanks for reporting the lack of clarity of this section. I have added a few sentences to clarify this paragraph in the vignette Database versions (commit 3ab5baa). I hope it's clearer.
Answer: I have added a few sentences to explain why these columns are required in the vignette Select, reshape, and filter data and in the documentation of the function
Answer: Thanks for this suggestion. I have modified the section names in the vignettes Select, reshape, and filter data and Data visualization (commit 81db6ae).
Answer: Indeed, the research group FORCIS has been funded by the FRB-CESAB. I have added it to the Regarding your comments (4) and (5), I need to read more about the packages I will come back to you very soon. |
Hi @beatrizmilz! I finally had to time to improve unit tests for plotting functions as you recommended here:
Answer: Done in commit d0f1636. Still trying to understand how to use the Nicolas |
Dear @ahasverus FYI I just started my EiC rotation. I see you responded to many of @beatrizmilz's comments. Is there anything else you would like to do before @beatrizmilz considers your changes and moves on to seeking reviewers? |
Hi @maurolepore |
Hi @maurolepore I have just adapted unit tests for HTTP requests as suggested in this comment:
Answer: Done in commit 15383d8 using the httptest2 package. I think we've answered all the comments raised by @beatrizmilz and we'are ready for the next steps of the review. Thanks! |
@ahasverus that's great news, thanks! You'll continue with @beatrizmilz as the handling editor. |
@ahasverus just to let you know I'll reach out to @beatrizmilz to check availability. Feel free to ping me if you feel we need a reminder. |
Great! @ahasverus |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Wonderful! |
@ropensci-review-bot seeking reviewers |
Please add this badge to the README of your package repository: [](https://github.com/ropensci/software-review/issues/660) Furthermore, if your package does not have a NEWS.md file yet, please create one to capture the changes made during the review process. See https://devguide.ropensci.org/releasing.html#news |
@beatrizmilz @ahasverus I don't know why the |
Checks for forcis (v0.1.0.9000)git hash: 053a879d
Important: All failing checks above must be addressed prior to proceeding Package License: GPL (>= 2) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. basedata.frame (14), file.path (11), lapply (8), c (7), which (7), for (6), seq_len (6), suppressWarnings (6), length (5), list.files (5), rbind (5), unique (5), as.numeric (4), colnames (3), url (3), drop (2), file (2), format (2), ifelse (2), is.null (2), months (2), paste0 (2), strsplit (2), unlist (2), version (2), as.Date (1), gsub (1), mode (1), nrow (1), options (1), q (1), readline (1), readLines (1), which.max (1) forcisget_species_names (11), data_to_sf (5), species_list (5), get_available_versions (3), get_metadata (3), cpr_north_filename (2), cpr_south_filename (2), get_current_version (2), get_latest_version (2), add_data_type (1), check_field_in_data (1), check_if_character (1), check_if_df (1), check_if_path_exists (1), check_if_valid_taxonomy (1), check_required_columns (1), check_unique_taxonomy (1), check_version (1), compute_abundances (1), compute_concentrations (1), compute_frequencies (1), convert_to_long_format (1), crs_robinson (1), data_types (1), date_format (1), download_file (1), download_forcis_db (1), filter_by_bbox (1), filter_by_month (1), filter_by_ocean (1), filter_by_polygon (1), filter_by_species (1), filter_by_year (1), geom_basemap (1), get_data_type (1), get_required_columns (1), get_version_metadata (1), plankton_net_filename (1), pump_filename (1), sediment_trap_filename (1), zenodo_id (1) utilsdata (57), download.file (1) sfst_intersects (6), st_bbox (3), st_crs (2), st_as_sf (1) vroomvroom (10) httr2req_url_query (2), req_perform (1), request (1) graphicspolygon (3) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
13134754740 | pages build and deployment | success | 7bd9cf | 171 | 2025-02-04 |
13134709729 | pkgdown | success | 053a87 | 206 | 2025-02-04 |
13134709726 | R CMD Check | success | 053a87 | 205 | 2025-02-04 |
13134709722 | Test coverage | success | 053a87 | 101 | 2025-02-04 |
13134112815 | Update CITATION.cff | success | 15383d | 26 | 2025-02-04 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following check_fail:
- no_import_package_as_a_whole
Test coverage with covr
Package coverage: 98.79
Cyclocomplexity with cyclocomp
No functions have cyclocomplexity >= 15
Static code analyses with lintr
lintr found the following 7 potential issues:
message | number of times |
---|---|
Avoid changing the working directory, or restore it in on.exit | 2 |
Avoid library() and require() calls in packages | 5 |
Package Versions
package | version |
---|---|
pkgstats | 0.2.0.54 |
pkgcheck | 0.1.2.119 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
Thank you Mark! |
(Note also that the check for default "master" branch has been implemented since the previous checks were issues; this should be addressed. We're working on updating our Dev Guide to describe that, but in the meantime, this blog post might help.) |
Hi @ahasverus ! I have started inviting reviewers yesterday, and I'm waiting for their responses. The check for the package returned things that needs to be adressed:
Can you rename the default branch to About the lint messages:
I have done a search in the files, but seems like |
Hi @beatrizmilz & @mpadge ! I've renamed the default branch Regarding the comment on the lint message, I confirm that the call to |
Thank you @ahasverus ! |
Submitting Author Name: Nicolas Casajus
Submitting Author Github Handle: @ahasverus
Other Package Authors Github handles: (comma separated, delete if none) @MatGreco90, @ChaabaneS, @xgiraud
Repository: https://github.com/frbcesab/forcis
Version submitted: 0.1.0
Submission type: Standard
Editor: @beatrizmilz
Reviewers: TBD
Archive: TBD
Version accepted: TBD
Language: en
Scope
Please indicate which category or categories from our package fit policies this package falls under: (Please check an appropriate box below. If you are unsure, we suggest you make a pre-submission inquiry.):
Explain how and why the package falls under these categories (briefly, 1-2 sentences):
pkgcheck
items which your package is unable to pass.Technical checks
Confirm each of the following by checking the box.
This package:
Publication options
Do you intend for this package to go on CRAN?
Do you intend for this package to go on Bioconductor?
Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
MEE Options
Code of conduct
The text was updated successfully, but these errors were encountered: