-
-
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
mapmetadata #674
Comments
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type |
🚀 Editor check started 👋 |
Checks for browseMetadata (v2.0.1)git hash: 3a779939
Important: All failing checks above must be addressed prior to proceeding (Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 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. baselist (57), paste0 (15), data.frame (13), c (11), for (10), return (9), character (8), nrow (8), length (6), get (5), file (3), format (3), integer (3), numeric (3), row (3), Sys.time (3), all (2), apply (2), as.list (2), list.files (2), max (2), min (2), paste (2), rbind (2), readline (2), strsplit (2), subset (2), suppressWarnings (2), t (2), unique (2), unlist (2), any (1), as.integer (1), as.matrix (1), cbind (1), do.call (1), getwd (1), gsub (1), is.na (1), lapply (1), matrix (1), nchar (1), scan (1), setdiff (1), system.file (1), unname (1), which (1) browseMetadatajson_table_to_df (4), user_categorisation (4), ref_plot (3), user_prompt_list (3), concensus_on_mismatch (2), copy_previous (2), count_empty_desc (2), end_plot (2), join_outputs (2), load_data (2), user_prompt (2), browse_metadata (1), map_metadata (1), map_metadata_compare (1), map_metadata_convert (1), user_categorisation_loop (1) clicli_alert_info (17), cli_alert_danger (4), cli_alert_success (4), cli_h1 (3), cli_alert_warning (2) statsfamily (8), line (6), df (1) graphicstitle (7), legend (3), text (3) dplyrn (7), join_by (1), left_join (1) utilsread.csv (7), data (1) tidyrcomplete (3) gridExtragrid.arrange (1), tableGrob (1) htmlwidgetssaveWidget (2) jsonlitefromJSON (2) plotlyplot_ly (2) ggplot2ggsave (1) toolsfile_path_sans_ext (1) 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.
|
file | coverage |
---|---|
R/map_metadata_compare.R | 0% |
R/map_metadata_convert.R | 0% |
R/map_metadata.R | 0% |
Cyclocomplexity with cyclocomp
The following function have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
map_metadata | 18 |
Static code analyses with lintr
lintr found no issues with this package!
4. Other Checks
Details of other checks (click to open)
✖️ The following function name is duplicated in other packages:
-
browse_metadata
from OECD
Package Versions
package | version |
---|---|
pkgstats | 0.2.0.48 |
pkgcheck | 0.1.2.77 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
Closing issue for now, as I misread some recommendations for a package to be ready. Will address these properly (the |
@RayStick No worries. When you're ready, please just open this issue again (and not a new issue), call |
Okay I will do that, thanks @mpadge! |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Checks for browseMetadata (v2.0.2)git hash: 57b7191b
(Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 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. baselist (57), paste0 (15), data.frame (13), c (11), for (10), return (9), character (8), nrow (8), length (6), get (5), file (3), format (3), integer (3), numeric (3), row (3), Sys.time (3), all (2), apply (2), as.list (2), list.files (2), max (2), min (2), paste (2), rbind (2), readline (2), strsplit (2), subset (2), suppressWarnings (2), t (2), unique (2), unlist (2), any (1), as.integer (1), as.matrix (1), cbind (1), do.call (1), getwd (1), gsub (1), is.na (1), lapply (1), matrix (1), nchar (1), scan (1), setdiff (1), system.file (1), unname (1), which (1) browseMetadatajson_table_to_df (4), user_categorisation (4), ref_plot (3), user_prompt_list (3), concensus_on_mismatch (2), copy_previous (2), count_empty_desc (2), end_plot (2), join_outputs (2), load_data (2), user_prompt (2), browse_metadata (1), map_metadata (1), map_metadata_compare (1), map_metadata_convert (1), user_categorisation_loop (1) clicli_alert_info (17), cli_alert_danger (4), cli_alert_success (4), cli_h1 (3), cli_alert_warning (2) statsfamily (8), line (6), df (1) graphicstitle (7), legend (3), text (3) dplyrn (7), join_by (1), left_join (1) utilsread.csv (7), data (1) tidyrcomplete (3) gridExtragrid.arrange (1), tableGrob (1) htmlwidgetssaveWidget (2) jsonlitefromJSON (2) plotlyplot_ly (2) ggplot2ggsave (1) toolsfile_path_sans_ext (1) 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 |
---|---|---|---|---|---|
12298710868 | Auto Author Assign | success | 57b719 | 72 | 2024-12-12 |
12293411548 | auto-label | success | be2574 | 226 | 2024-12-12 |
12293835316 | pages build and deployment | success | f8c518 | 121 | 2024-12-12 |
12293615596 | pkgcheck | success | 57b719 | 13 | 2024-12-12 |
12293809892 | pkgdown | success | 57b719 | 401 | 2024-12-12 |
12293615592 | R-CMD-check.yaml | success | 57b719 | 73 | 2024-12-12 |
12293615597 | test-coverage.yaml | success | 57b719 | 73 | 2024-12-12 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following notes:
- checking for portable file names ... NOTE
Found the following non-portable file paths:
browseMetadata/inst/outputs/L-OUTPUT_NationalCommunityChildHealthDatabase(NCCHD)_CHILD_2024-11-27-14-19-55.csv
browseMetadata/inst/outputs/LOG_NationalCommunityChildHealthDatabase(NCCHD)_CHILD_2024-11-27-14-19-55.csv
browseMetadata/inst/outputs/LOG_NationalCommunityChildHealthDatabase(NCCHD)_CHILD_2024-11-27-14-23-52.csv
browseMetadata/inst/outputs/OUTPUT_NationalCommunityChildHealthDatabase(NCCHD)_CHILD_2024-11-27-14-19-55.csv
browseMetadata/inst/outputs/OUTPUT_NationalCommunityChildHealthDatabase(NCCHD)_CHILD_2024-11-27-14-23-52.csv
browseMetadata/inst/outputs/PLOT_NationalCommunityChildHealthDatabase(NCCHD)_CHILD_2024-11-27-14-19-55.png
browseMetadata/inst/outputs/PLOT_NationalCommunityChildHealthDatabase(NCCHD)_CHILD_2024-11-27-14-23-52.png
Tarballs are only required to store paths of up to 100 bytes and cannot
store those of more than 256 bytes, with restrictions including to 100
bytes for the final component.
See section ‘Package structure’ in the ‘Writing R Extensions’ manual.
2. checking R code for possible problems ... NOTE
browse_metadata: no visible binding for global variable ‘Empty’
copy_previous: no visible binding for global variable ‘data_element’
count_empty_desc: no visible binding for global variable ‘empty’
end_plot: no visible binding for global variable ‘domain_code’
join_outputs: no visible binding for global variable ‘data_element’
map_metadata: no visible binding for global variable ‘note’
Undefined global functions or variables:
data_element domain_code empty Empty note
R CMD check generated the following check_fails:
- no_import_package_as_a_whole
- rcmdcheck_undefined_globals
Test coverage with covr
Package coverage: 89.15
Cyclocomplexity with cyclocomp
The following function have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
map_metadata | 18 |
Static code analyses with lintr
lintr found no issues with this package!
4. Other Checks
Details of other checks (click to open)
✖️ The following function name is duplicated in other packages:
-
browse_metadata
from OECD
Package Versions
package | version |
---|---|
pkgstats | 0.2.0.48 |
pkgcheck | 0.1.2.77 |
Editor-in-Chief Instructions:
This package is in top shape and may be passed on to a handling editor
Thank you soooo much @RayStick!!! |
Thanks for the submission, @RayStick ! This looks like a great candidate for rOpenSci. I'll begin the search for a handling editor |
@ropensci-review-bot seeking reviewers |
Please add this badge to the README of your package repository: [](https://github.com/ropensci/software-review/issues/674) 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 |
@ropensci-review-bot assign @maelle as editor |
Assigned! @maelle is now the editor |
Editor checks:
Editor commentsThank you for your submission! Below are some comments before I start looking for reviewers. Please feel free to ask me any question.
|
I removed the seeking-reviewers label because I'll look for reviewers after your response @RayStick 🙂 |
Thanks for these comments @maelle |
Ideally yes, either implementing or rejecting them (the first item on documenting scope is the most important one IMO) so the reviewers don't have to comment on the same components. Does it make sense? (it's a busy season so I expect things to take a while longer, no pressure) |
Thanks! Most seem pretty do-able to me, and I should have a bit of time today to go through them |
Thank you @RayStick!! @ymansiaux @Lextuga007 could you please read @RayStick's response and answer using the template? Thank you! |
@RayStick I'm intrigued by the mocking example. Where in the codebase is |
@maelle yes it probably warrants another look! I am rather new to unit tests that use so much user interaction (before writing them for this package). Here is the line: https://github.com/aim-rsf/mapmetadata/blob/c6dcfa88bbe7666e810cefddf9b5344a0cef29de/R/user_interactions.R#L43 |
I have seen the line but I don't understand where |
Oh sorry - I understand your question now! |
ooooh it does, it was indeed obvious. 🤦 I'll try to have a look at the mocking tomorrow! |
I made a suggestion in a PR https://github.com/aim-rsf/mapmetadata/pull/207 using function factories instead of mockery. Also curious to hear whether @ymansiaux or @Lextuga007 have any experience with this. It's also something you could ask in the rOpenSci slack workspace. |
Reviewer ResponseThank you for this high-quality work. I note that a great deal of work has gone into the documentation, which is now easier to handle. Final approval (post-review)
Estimated hours spent reviewing: 8 |
Not really sorry. I remembered having used the trick |
Use of |
That was a neat exercise, getting me closer to understanding function factories 😁 😂 |
@Lextuga007 could you please read @RayStick's response and answer using the template? Thank you! |
Apologies for the delay, I was off last week and will endeavour to do the review this week. |
no worries, thank you! |
Reviewer ResponseThank you so much for all the hard work you've put into the changes suggested! I really enjoyed going through the README which has been substantially updated. I've submitted a really small PR to edit just a couple of words in the messages. A couple of minor enhancements/suggestions for the added content:
In the section "Using a custom lookup table input (advanced)" I wasn't sure if the appending suggestion of new rows to the bottom was expected to be done in the csv or in code.
As mentioned though, these are really small points and you've covered a huge amount in the review. Final approval (post-review)
|
Thank you @Lextuga007!! I'm going to go ahead and approve as I trust @RayStick will take your comments into account anyway. |
@ropensci-review-bot approve mapmetadata |
Approved! Thanks @RayStick for submitting and @ymansiaux, @Lextuga007 for your reviews! 😁 To-dos:
Should you want to acknowledge your reviewers in your package DESCRIPTION, you can do so by making them Welcome aboard! We'd love to host a post about your package - either a short introduction to it with an example for a technical audience or a longer post with some narrative about its development or something you learned, and an example of its use for a broader readership. If you are interested, consult the blog guide, and tag @ropensci/blog-editors in your reply. They will get in touch about timing and can answer any questions. We maintain an online book with our best practice and tips, this chapter starts the 3d section that's about guidance for after onboarding (with advice on releases, package marketing, GitHub grooming); the guide also feature CRAN gotchas. Please tell us what could be improved. Last but not least, you can volunteer as a reviewer via filling a short form. |
@ymansiaux @Lextuga007 thanks again for reviewing this package! @RayStick thanks again for all your work on this! Note that we're working on better documenting the fact that it's not compulsory to have the repo transferred to the ropensci GitHub organization. If you prefer not to have it transferred, I can help with that. (#682) |
Wonderful! I have a bit of time today - I will take a look at @Lextuga007's comments and suggestions, as they seem like they would not take long. It would actually be great to transfer this to the rOpenSci GH Org as the current Org this repo is hosted on may not be supported in the months to come! |
@maelle I tried to do
But I got the error:
|
@RayStick it seems you haven't accepted the invitation to the ropensci GitHub organization yet. You should see it in your emails and I think in your GitHub notifications maybe. |
Oops you are right, thanks! |
@ropensci-review-bot finalize transfer of mapmetadata |
Transfer completed. |
Date accepted: 2025-03-04
Submitting Author Name: Rachael Stickland
Submitting Author Github Handle: @RayStick
Other Package Authors Github handles: (comma separated, delete if none) @BatoolMM, @Rainiefantasy
Repository: https://github.com/aim-rsf/mapmetadata
Version submitted:
Submission type: Standard
Editor: @maelle
Reviewers: @ymansiaux, @Lextuga007
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):
This package is related to data access, as interacting with health metadata can help a researcher/research group decide what datasets to access for their research, and be more informed when writing their data access request. It involves data validation checks as it checks for completeness of metadata, and visualizes this.
Any users of health metadata, specifically for research projects that are using large population datasets, with many latent variables (research domains/concepts) and they need to investigate which variables in the datasets map onto their research domains of interest.
Not that I am aware of
Not Applicable
Not Applicable
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: