-
-
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 |
@maelle thanks for sharing the blog - that's really useful for my own package development as I'm just puzzling out the best way to give messages and get them recorded for internal data pipeline packages😀 |
Dear @RayStick this is to mark the start of my EiC rotation. I'm reviewing all open issues and leaving a short note to myself of what I see. I see both reviews are in and I assume you're working on incorporating the feedback. Everything seems on track. I'll step back. Thanks! |
Hi @maurolepore yes I am working on incorporating the feedback, thanks =D |
@maelle what is the etiquette with asking reviewers to review pull requests when I make some of their suggested changes? Is it best to just make the change to the best of my ability, and link to all the changes in one go at the end? |
@RayStick, @BatoolMM, @Rainiefantasy: please post your response with Here's the author guide for response. https://devguide.ropensci.org/authors-guide.html |
Sorry for the delay. Yes it is best to do it this way. |
@maelle I am aiming for end of this week to address all the reviewer's comments. Sorry for the delay, I have had a more hectic couple of work weeks than expected. Is that okay? Progress is here: aim-rsf/mapmetadata#184 (but I will make to summarise and itemise in this issue thread as per the guidelines, once I am done) |
Yes it is ok @RayStick, no worries. Note that once you post your response, you can "submit" it with a bot command so the label of the issue will change: https://devguide.ropensci.org/bot_cheatsheet.html#submit-response-to-reviewers |
Hi there, thanks again for the brilliant reviews. I have addressed them all (see this issue) but I have not had a chance to do all my final sanity checks - sorry for the delay. On Monday (with some fresh eyes) I will do some final checks then write a message on this thread clearly describing how I responded to each of your queries (following the guidance given). Thank you for your patience. The changes took much longer than I thought! |
👋 @RayStick! Thanks for the update and no worries. Have a good start to the week! ☕ 🍵 |
My apologies, I was not too well today and after some user testing I found some bugs 😿 . Very close to finishing! Thanks for the patience. |
Get well soon, take care! |
Response to reviewersPlease see the NEWS file and the new 4.0.0 release which incorporate all the changes. You can also see that pkgcheck results that were run on this 4.0.0 release showing everything passes This GitHub issue is where I itemized all your feedback and made changes in grouped PRs - that's where you can see all the detail. Below I will try to summarise for you in a more digestible way! Please let me know if you have any further questions/suggestions/corrections. Thank you again! devchecks and lintrThis now has 0 errors, 0 warnings, and 1 note. The note is 'unable to verify current time' and I am not sure what to do about it! I also ran Improvement to package code and testsAs suggested by @Lextuga007:
As suggested by @ymansiaux:
Smaller documentation improvements: formatting, re-naming, clarificationsAs suggested by @Lextuga007:
As suggested by @ymansiaux:
Larger documentation improvementsI have made lots of improvements to the README and the longer tutorial, expanding, clarifying and re-structuring. This responds to a few comments from both reviewers. I made sure that the README only includes the demo run of the main function, and all code snippets that a user is prompted to run can be copied & pasted without modification. The demo run is much shorter now, it processes the first 5 variables by default (not 20 like before). In the longer tutorial, I make it clearer to a wider range of package users how to access the example package files, and use these package files to demo the custom inputs. Implementing more extensive input validation (PR) and correcting some errors in the function docs also helps with user understanding I hope. A few PRs but most notably - aim-rsf/mapmetadata#196 and aim-rsf/mapmetadata#199. |
@ropensci-review-bot submit response #674 (comment) |
Logged author response! |
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 aim-rsf/mapmetadata#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! |
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: