Closed nzgwynn closed 1 year ago
git hash: 06b9d841
Important: All failing checks above must be addressed prior to proceeding
Package License: MIT + file LICENSE
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.
|type |package | ncalls|
|:----------|:-----------------|------:|
|internal |base | 155|
|internal |utils | 16|
|internal |GoldilocksPackage | 12|
|imports |stats | 23|
|imports |GGally | 7|
|imports |random | 3|
|imports |designmatch | 2|
|imports |readxl | 1|
|imports |ggplot2 | NA|
|imports |grid | NA|
|imports |lattice | NA|
|imports |rmarkdown | NA|
|imports |shiny | NA|
|suggests |testthat | 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(
c (15), list (11), rep (11), sapply (11), paste0 (10), dim (6), I (6), scale (6), as.numeric (5), length (5), nrow (5), for (4), ifelse (4), matrix (4), ncol (4), col (3), colnames (3), file (3), max (3), min (3), which (3), data.frame (2), file.path (2), floor (2), globalenv (2), is.numeric (2), new.env (2), seq_along (2), sum (2), tempdir (2), abs (1), apply (1), as.matrix (1), cbind (1), colMeans (1), diag (1), factor (1), gsub (1), is.null (1), paste (1), replicate (1), unlist (1)
C (10), D (9), dist (1), rbinom (1), runif (1), sd (1)
data (16)
make.order (5), Round (3), dummy (1), goldilocks (1), make.Ks (1), Round1 (1)
ggparcoord (7)
randomNumbers (3)
nmatch (2)
read_excel (1)
base
stats
utils
GoldilocksPackage
GGally
random
designmatch
readxl
This package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing.
The package has: - code in R (100% in 10 files) and - 1 authors - no vignette - no internal data file - 10 imported packages - 5 exported functions (median 30 lines of code) - 15 non-exported functions in R (median 13 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](https://docs.ropensci.org/pkgcheck/reference/checks_to_markdown.html) 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 | 10| 59.0| | |files_vignettes | 0| 0.0|TRUE | |files_tests | 5| 81.7| | |loc_R | 513| 48.4| | |loc_tests | 56| 27.4| | |num_vignettes | 0| 0.0|TRUE | |n_fns_r | 20| 27.9| | |n_fns_r_exported | 5| 24.2| | |n_fns_r_not_exported | 15| 32.7| | |n_fns_per_file_r | 1| 0.2|TRUE | |num_params_per_fn | 4| 51.9| | |loc_per_fn_r | 22| 63.6| | |loc_per_fn_r_exp | 30| 63.0| | |loc_per_fn_r_not_exp | 13| 42.7| | |rel_whitespace_R | 32| 66.4| | |rel_whitespace_tests | 43| 39.6| | |doclines_per_fn_exp | 28| 29.1| | |doclines_per_fn_not_exp | 0| 0.0|TRUE | |fn_call_network_size | 9| 30.9| | ---
Click to see the interactive network visualisation of calls between objects in package
goodpractice
and other checks--- #### 3b. `goodpractice` results #### `R CMD check` with [rcmdcheck](https://r-lib.github.io/rcmdcheck/) R CMD check generated the following check_fails: 1. description_bugreports 2. no_import_package_as_a_whole #### Test coverage with [covr](https://covr.r-lib.org/) Package coverage: 12.76 The following files are not completely covered by tests: file | coverage --- | --- R/dummy.R | 0% R/goldilocks.R | 0% R/make_plot.R | 0% R/make_zoom_plot.R | 0% R/server.R | 0% R/ui.R | 0% #### Cyclocomplexity with [cyclocomp](https://github.com/MangoTheCat/cyclocomp) The following function have cyclocomplexity >= 15: function | cyclocomplexity --- | --- server | 15 #### Static code analyses with [lintr](https://github.com/jimhester/lintr) [lintr](https://github.com/jimhester/lintr) found the following 188 potential issues: message | number of times --- | --- Avoid library() and require() calls in packages | 1 Avoid using sapply, consider vapply instead, that's type safe | 8 Lines should not be more than 80 characters. | 52 Use <-, not =, for assignment. | 127
|package |version | |:--------|:--------| |pkgstats |0.1.3.4 | |pkgcheck |0.1.1.20 |
Processing may not proceed until the items marked with :heavy_multiplication_x: have been resolved.
Dear @nzgwynn,
Thanks for your pre-submission.
I discussed with the editorial boar and unfortunately we consider it out-of-scope for our category "scientific software wrappers":
Packages that wrap non-R utility programs used for scientific research -- https://devguide.ropensci.org/policies.html#package-categories
That category focuses on R wrappers of non-R utilities, but on the repo of this pre-submission we see 100% R code.
We might consider it a "workflow" package under our statistical-software peer-review process. That category has potential but isn't yet developed. However, @noamross would be willing to pilot it if it meets the guidelines for statistical software. That could take a while, so I'll close this issue now but feel free to open a new pre-submission when you are ready and please mention this issue in that issue.
@ropensci-review-bot out of scope
Thank you for your response!
Submitting Author Name: gwynn gebeyehu Submitting Author Github Handle: !--author1-->@nzgwynn<!--end-author1-- Repository: https://github.com/nzgwynn/Goldilocks_package Submission type: Pre-submission Language: en
Scope
Please indicate which category or categories from our package fit policies or statistical package categories this package falls under. (Please check an appropriate box below):
Data Lifecycle Packages
[ ] data retrieval
[ ] data extraction
[ ] data munging
[ ] data deposition
[ ] data validation and testing
[ ] workflow automation
[ ] version control
[ ] citation management and bibliometrics
[x ] scientific software wrappers
[ ] field and lab reproducibility tools
[ ] database software bindings
[ ] geospatial data
[ ] text analysis
Statistical Packages
[ ] Bayesian and Monte Carlo Routines
[ ] Dimensionality Reduction, Clustering, and Unsupervised Learning
[ ] Machine Learning
[ ] Regression and Supervised Learning
[ ] Exploratory Data Analysis (EDA) and Summary Statistics
[ ] Spatial Analyses
[ ] Time Series Analyses
Explain how and why the package falls under these categories (briefly, 1-2 sentences). Please note any areas you are unsure of: This package is a Shiny application that allows researchers to randomizes cluster randomized control trials with confidence.
If submitting a statistical package, have you already incorporated documentation of standards into your code via the srr package?
Who is the target audience and what are scientific applications of this package? This packages allows anyone randomizing clusters (schools, hospitals, nursing homes, etc...) to randomize with some confidence that balance will be achieved in chosen variables. It is a GUI that allows them to upload data, practice randomizing, then randomize.
Are there other R packages that accomplish the same thing? If so, how does yours differ or meet our criteria for best-in-category? I do not know of any other packages that do this.
(If applicable) Does your package comply with our guidance around Ethics, Data Privacy and Human Subjects Research? There is no personal data anywhere in this package.
Any other questions or issues we should be aware of?: Thank you for the time you are taking to look at this package.