-
-
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
browseMetadata #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: [![Status at rOpenSci Software Peer Review](https://badges.ropensci.org/674_status.svg)](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 |
Question about
Do you mean I could consider a change to |
Excellent idea! |
Yep, happy to have a look tomorrow! |
Thank you! I have added you as a collaborator on the repo so that I can assign you as PR reviewer |
Thank you! Please tell me when the PR is ready for review (I don't think it is at the moment)? Then a response will have to be posted here too, to ensure this thread contains a central "record". 😸 |
This is a good point. I had more info in here in earlier versions but I realised that when I have improved the README in other ways, I have cut out lots of this context. To answer you very broadly here: The covered data sources are any data sources that are listed on the gateway (https://healthdatagateway.org/en) which is a comprehensive collection of UK health data sources. In theory, if any dataset is exported with their same structural metadata, it can be used in this package! However, they have very recently made improvements to their gateway (released a couple of months ago) - I used to download the metadata files from here (https://maurosandbox.com/hdruk/#/home) but this doesn't seem to be the best place anymore, and I have just noticed that some backwards compatibility with their service is broken. In future, I want my R package to use an API to retrieve input metedata files but I have not got that working yet, so I have that down as an enhancement as it is not too difficult for a user to download a file. My suggestion:
|
Yes absolutely. However it should be tackled before I invite reviewers, because that's crucial information. I'll review the current PR now! |
@maelle thank you for your PR review, my package is improving already
|
Yes, let's put the submission on hold for the little while. Thank you and have a nice break! |
@ropensci-review-bot put on hold |
Submission on hold! |
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/browseMetadata
Version submitted:
Submission type: Standard
Editor: @maelle
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):
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: