-
-
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
concstats #559
Comments
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type |
🚀 Editor check started 👋 |
Checks for concstats (v0.1.4)git hash: d3e10c1a
Package License: MIT + file LICENSE 1. rOpenSci Statistical Standards (
|
type | package | ncalls |
---|---|---|
internal | base | 91 |
internal | concstats | 43 |
internal | stats | 5 |
imports | dplyr | NA |
imports | readr | NA |
suggests | rmarkdown | NA |
suggests | knitr | NA |
suggests | devtools | NA |
suggests | kableExtra | NA |
suggests | ggplot2 | NA |
suggests | testthat | NA |
suggests | covr | NA |
linking_to | NA | NA |
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.
base
as.numeric (28), sum (28), c (12), data.frame (7), cut (4), format (4), seq (4), log (2), length (1), seq_len (1)
concstats
concstats_firm (4), concstats_entropy (3), concstats_hhi (3), concstats_nrs_eq (3), concstats_palma (3), concstats_dom (2), concstats_gini (2), concstats_grs (2), concstats_hhi_d (2), concstats_hhi_min (2), concstats_simpson (2), concstats_sten (2), concstats_top (2), concstats_top3 (2), concstats_top5 (2), concstats_all_comp (1), concstats_all_inequ (1), concstats_all_mstruct (1), concstats_comp (1), concstats_concstats (1), concstats_inequ (1), concstats_mstruct (1)
stats
quantile (4), na.omit (1)
NOTE: No imported packages appear to have associated function calls; please ensure with author that these 'Imports' are listed appropriately.
3. Statistical Properties
This 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:
- code in R (100% in 6 files) and
- 1 authors
- 2 vignettes
- 1 internal data file
- 2 imported packages
- 22 exported functions (median 33 lines of code)
- 22 non-exported functions in R (median 44 lines of code)
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
The following terminology is used:
loc
= "Lines of Code"fn
= "function"exp
/not_exp
= exported / not exported
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the checks_to_markdown()
function
The final measure (fn_call_network_size
) is the total number of calls between functions (in R), or more abstract relationships between code objects in other languages. Values are flagged as "noteworthy" when they lie in the upper or lower 5th percentile.
measure | value | percentile | noteworthy |
---|---|---|---|
files_R | 6 | 40.3 | |
files_vignettes | 2 | 85.7 | |
files_tests | 5 | 81.7 | |
loc_R | 704 | 58.2 | |
loc_vignettes | 254 | 58.2 | |
loc_tests | 1266 | 90.0 | |
num_vignettes | 2 | 89.2 | |
data_size_total | 1301 | 61.1 | |
data_size_median | 1301 | 65.7 | |
n_fns_r | 44 | 52.5 | |
n_fns_r_exported | 22 | 70.1 | |
n_fns_r_not_exported | 22 | 43.6 | |
n_fns_per_file_r | 6 | 71.6 | |
num_params_per_fn | 2 | 11.9 | |
loc_per_fn_r | 38 | 84.2 | |
loc_per_fn_r_exp | 34 | 67.2 | |
loc_per_fn_r_not_exp | 44 | 88.4 | |
rel_whitespace_R | 17 | 58.1 | |
rel_whitespace_vignettes | 23 | 44.1 | |
rel_whitespace_tests | 14 | 83.6 | |
doclines_per_fn_exp | 63 | 75.1 | |
doclines_per_fn_not_exp | 0 | 0.0 | TRUE |
fn_call_network_size | 33 | 57.5 |
3a. Network visualisation
Click to see the interactive network visualisation of calls between objects in package
4. goodpractice
and other checks
Details of goodpractice checks (click to open)
3a. Continuous Integration Badges
GitHub Workflow Results
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
3329638517 | pages build and deployment | success | d3e10c | 53 | 2022-10-26 |
3329638614 | pkgcheck | success | d3e10c | 25 | 2022-10-26 |
3329638610 | pkgdown | success | d3e10c | 64 | 2022-10-26 |
3329638632 | R-CMD-check | success | d3e10c | 59 | 2022-10-26 |
3329638620 | test-coverage | success | d3e10c | 6 | 2022-10-26 |
3b. goodpractice
results
R CMD check
with rcmdcheck
rcmdcheck found no errors, warnings, or notes
Test coverage with covr
Package coverage: 99.19
Cyclocomplexity with cyclocomp
The following functions have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
concstats_entropy | 18 |
concstats_gini | 18 |
concstats_hhi | 18 |
concstats_simpson | 18 |
concstats_sten | 17 |
Static code analyses with lintr
lintr found the following 8 potential issues:
message | number of times |
---|---|
Avoid library() and require() calls in packages | 8 |
Package Versions
package | version |
---|---|
pkgstats | 0.1.1.54 |
pkgcheck | 0.1.0.26 |
srr | 0.0.1.180 |
Editor-in-Chief Instructions:
This package is in top shape and may be passed on to a handling editor
@schneiderpy Our usual procedure is to first consider suitability in a pre-submission enquiry. You've opened #558 for that, so we'll close this until the conversation is resolved there. Once that is done, and if the pre-submission is approved, we can re-open this issue and move on from there. Thanks. |
Thanks, @schneiderpy, as @mpadge noted, usually we like to finalise the pre-submission inquiry before opening a request for a review, but everything seems to be in top shape, so I've reopened this and will start looking for a handling editor. |
Hello @schneiderpy 👋 Just wanted to give you a short update. We are still trying to find an appropriate editor to handle your submission and hoping to have found someone soon. Apologies for the delay! |
Thank you Anna for the update ... (by the way, I could not find the package in the latest newsletter (Software Review Section)) |
Hello @schneiderpy. It's because it's still at review stage 0. It will appear in the newsletter when an editor is assigned and it reaches stage 1/editorial checks 😊 |
Hello Anna,
this is just a short email to find out if there is a chance the my package
"concstats" will get reviewed (someday)?
Best regards and an excellent 2023
Andreas Schneider
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
Remitente
notificado con
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
20/01/23,
12:27:20
El mar, 22 nov 2022 a las 10:25, Anna Krystalli ***@***.***>)
escribió:
… Hello @schneiderpy <https://github.com/schneiderpy>. It's because it's
still at review stage 0. It will appear in the newsletter when an editor is
assigned and it reaches stage 1/editorial checks 😊
—
Reply to this email directly, view it on GitHub
<#559 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASTA3FZ4ALF7F3LLSLPUJXDWJTCTHANCNFSM6AAAAAARQQEFRQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Dear @schneiderpy Please accept our apologies for the delay and rest assured we are doing our best to find an appropriate editor. Hopefully we will be able to move the review forward by the end of the week. |
Dear @schneiderpy, Today starts my rotation as EiC -- meaning I now assume the role of @annakrystalli. I'm watched the conversation here and among editors and it seems that the search for a handling editor continues. Thanks for your patience. |
Thank you Mauro
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
Remitente
notificado con
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
01/02/23,
17:59:41
El mié, 1 feb 2023 a las 11:09, Mauro Lepore ***@***.***>)
escribió:
… Dear @schneiderpy <https://github.com/schneiderpy>,
Today starts my rotation as EiC -- meaning I now assume the role of
@annakrystalli <https://github.com/annakrystalli>.
I'm watched the conversation here and among editors and it seems that the
search for a handling editor continues. Thanks for your patience.
—
Reply to this email directly, view it on GitHub
<#559 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASTA3F2NKAFJZBOBOFTEJL3WVJVCTANCNFSM6AAAAAARQQEFRQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Dear @schneiderpy, I'm pleased to announce that @Paula-Moraga will be the handling editor. Thanks @schneiderpy for your patience, @Paula-Moraga for accepting the role, and @mpadge for connecting all of us. |
@ropensci-review-bot assign @Paula-Moraga as editor |
Assigned! @Paula-Moraga is now the editor |
Hi @schneiderpy, I am pleased to be the editor of this package. I will start looking for reviewers. |
@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/559_status.svg)](https://github.com/ropensci/software-review/issues/559) 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 |
Dear Mauro
Thank you for the good news. And of course, thank you to @Paula-Moraga
and @mark
padgham ***@***.***>
Best regards
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
Remitente
notificado con
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
02/02/23,
17:57:48
El jue, 2 feb 2023 a las 6:55, Mauro Lepore ***@***.***>)
escribió:
… Dear @schneiderpy <https://github.com/schneiderpy>,
I'm pleased to announce that @Paula-Moraga
<https://github.com/Paula-Moraga> will be the handling editor.
Thanks @schneiderpy <https://github.com/schneiderpy> for your patience,
@Paula-Moraga <https://github.com/Paula-Moraga> for accepting the role,
and @mpadge <https://github.com/mpadge> for connecting all of us.
—
Reply to this email directly, view it on GitHub
<#559 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASTA3F25WGZCL3J5XYQWBNLWVOACHANCNFSM6AAAAAARQQEFRQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ropensci-review-bot assign @christopherkenny as reviewer |
@christopherkenny added to the reviewers list. Review due date is 2023-02-26. Thanks @christopherkenny for accepting to review! Please refer to our reviewer guide. rOpenSci’s community is our best asset. We aim for reviews to be open, non-adversarial, and focused on improving software quality. Be respectful and kind! See our reviewers guide and code of conduct for more. |
Many thanks @SebastianWojcik86 and @christopherkenny for your time and effort to review the package! Many thanks @schneiderpy for addressing the comments by @SebastianWojcik86. Looking forward to see the new version implementing the suggestions by @christopherkenny. |
@schneiderpy: please post your response with Here's the author guide for response. https://devguide.ropensci.org/authors-guide.html |
@christopherkenny, apologize for the delay.
Response: That was true. for more details see below.
It may be worth linking to CONTRIBUTING.md from README.md, as you do mention development briefly in the readme. Response: There is now a link from README to CONTRIBUTING.md
Response: I have changed this according to standard practice. All fs() have now links in the documentation files to make use of the pkgdown and roxygen2 functionality to create autmatic links.
Response: I have considered your suggestion. All @Rdname tags have now the name acording to the function, that is, all functions have now their own documentation page. I did this is favor of more readability and it gives me more flexability for future updates (e.g. one script for each function).
Response: Included checks/tests for normalized = NA. Functions like `concstats_all_* and functions with type = "all" have now a normalized = normalized argument
Response: functions have been referenced as suggested, e.g. concstats_all_comp(), concstats_all_inequ(), concstats_all_mstruct
Response: All measures included in this set are now mentioned in the documentation/details
Response: This has been changed to "x A non-negative numeric vector."
Response: This has been removed/changed to sum(x) == 1
Response: All functions who return a table of the group functions now have an additional argument with default "digits = NULL" as an intermediary between precision and style.
Response: Advise on this will be apreciated. The intencion is to compute the individual functions but not return the results one by one, instead "collect" them and return them all in table. I haven't found a better way to code this yet.
Response: I do agree with respect to NAs, however, I kept tests to check if the vectors sums up to (near) 1, since, in my opinion, this is an essential characteristic of the vector. Probably you do agree that a relative market share of 90% or 130% make no sense. If I don't control for the input the functions will work, but the results will be erronous (due to copy-paste or typing errors). Furthermore, sometimes the user of the package is not the same person who prepared the raw data.
Response: I have reviewed expect_error() (and other expectations) and the parentheses. Some of these were definitly wrong. Some have now this structure: Others:
Response: has been changed to dplyr::n()
Response: Of course, both reviewers have been added to the DESCRIPTION file |
Hi @schneiderpy, thanks for this. The changes look good to me. Thank you for your attention to the details here. Re:
It would seem to me that you can just remove the Some extra notes that do not need to be addressed, but may be helpful for future maintenance of the package:
|
Hi @christopherkenny and thank you for the advise. I have already tested it and it works fine. |
Many thanks @schneiderpy, @christopherkenny and @SebastianWojcik86 for your time and work to improve the package. I am very pleased to approve it! |
@ropensci-review-bot approve concstats |
Approved! Thanks @schneiderpy for submitting and @christopherkenny, @SebastianWojcik86 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. |
Thank you @Paula-Moraga for the good news! |
@ropensci-review-bot finalize transfer of concstats |
Can't find repository |
@ropensci-review-bot finalize transfer github/concstats |
I'm sorry human, I don't understand that. You can see what commands I support by typing:
|
@ropensci-review-bot help |
Hello @schneiderpy, here are the things you can ask me to do:
|
@ropensci-review-bot finalize transfer of concstats |
Can't find repository |
@ropensci-review-bot finalize transfer of concstats |
Can't find repository |
@ropensci-review-bot finalize transfer of schneiderpy/concstats |
Can't find repository |
@ropensci-review-bot finalize transfer of concstats |
Transfer completed. |
Date accepted: 2023-03-17
Submitting Author Name: Name
Due date for @christopherkenny: 2023-02-26Submitting Author Github Handle: @schneiderpy
Other Package Authors Github handles: (comma separated, delete if none)
Repository: https://github.com/schneiderpy/concstats
Version submitted:
Submission type: Stats
Badge grade: silver
Editor: @Paula-Moraga
Reviewers: @christopherkenny, @SebastianWojcik86
Due date for @SebastianWojcik86: 2023-02-28
Archive: TBD
Version accepted: TBD
Language: en
Scope
Please indicate which of our statistical package categories this package falls under. (Please check one appropriate box below):
Statistical Packages
Pre-submission Inquiry
General Information
Who is the target audience and what are scientific applications of this package?
The goal of the concstats package is to offer a set of alternative and/or additional measures for researchers in social sciences and practitioners in institutions concerned with competition on a regular basis to better determine a given market structure and therefore reduce uncertainty with respect to a given market situation.
Paste your responses to our General Standard G1.1 here, describing whether your software is:
Please include hyperlinked references to all other relevant software.
Some functions are already implemented in other R packages. The non-exhaustive
summary below is by no means a description of each package.
The Herfindahl Hirschman Index can be found in the hhi and the
divseg packages. While the hhi package has just one function, neither of both packages offer a finite sample correction.
The latter offers as well functions for the Entropy, Gini and Simpson measures.
The acid and the ineq packages offer functions for inequality and competition measures, e.g. for the Entropy and Gini metric.
However, almost none of these packages offer finite sample correction, with the exception of the
ineq package.
Other functions are new implementations in R, e.g. Dominance Index, Palma ratio, Stenbacka Index, GRS measure, and the dual of the Herfindahl Hirschman Index.
Not applicable
Badging
silver
Technical checks
Confirm each of the following by checking the box.
autotest
checks on the package, and ensured no tests fail.srr_stats_pre_submit()
function confirms this package may be submitted.pkgcheck()
function confirms this package may be submitted - alternatively, please explain reasons for any checks which your package is unable to pass.This package:
Publication options
Code of conduct
The text was updated successfully, but these errors were encountered: