-
Notifications
You must be signed in to change notification settings - Fork 33
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
Dev/cohort assess #248
base: develop
Are you sure you want to change the base?
Dev/cohort assess #248
Conversation
merge dpenedencies metric into personal dev branch
merge namespace metrics feature into personal dev branch
Merge branch 'master' into dev/cohort # Conflicts: # R/assess_dependencies.R # R/assess_exported_namespace.R # R/assess_reverse_dependencies.R # R/pkg_ref_class.R # man/pkg_assess.Rd # man/pkg_ref_cache.rev_dependencies.Rd
… to library_ref, and modified its return value to be a list_of_package_ref
…or cohort_ref class
…tent with pkg_ref paradigm)
…ss_has_dependency_conflict
…ed cohort_metric for assess_reverse_dependencies cohort_ref
A design question to consider. how to dispatch assessments that are specific for |
…ed at assessment.
…, get the default method.
metrics_scores added ropbustness to labeling of metric_score* methods to account for asessments that may not have a defined metric_score method.
Codecov Report
@@ Coverage Diff @@
## master #248 +/- ##
==========================================
- Coverage 57.80% 52.36% -5.45%
==========================================
Files 63 68 +5
Lines 986 1119 +133
==========================================
+ Hits 570 586 +16
- Misses 416 533 +117
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
…stringr depenedency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good. I updated the branch to develop to give us a better idea of how this works along with other changes
if (missing(x) & missing(library) & missing(lib.loc)) { | ||
# return(vctrs::new_list_of(cohort=list_of_pkg_ref(), | ||
# library=list_of_pkg_ref(), | ||
# ptype = list_of_pkg_ref(), | ||
# class = "cohort_ref")) | ||
stop("No packages defined for cohort ref") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove the commented code here. I agree with the option to error out if there isn't anything in the cohort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good. I updated the branch to develop to give us a better idea of how this works along with other changes
A minimal working cohort implementation.
Additions:
summarize_scores
Many of the helper functions (class coercion, formatters, etc) were copy/pasted from pkg_* versions to get to a working example as well as to enforce/maintain a
cohort_*
vspkg_*
nomenclature.Things left outstanding:
A brief example: