Skip to content
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

namespace repometrics not orgmetrics in 'get_rm_data_fns' for #1 #5

Merged
merged 16 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: orgmetrics
Title: Metrics for Your GitHub Organization
Version: 0.0.1.010
Version: 0.0.1.026
Authors@R:
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand All @@ -17,7 +17,6 @@ Imports:
dplyr,
fs,
gert,
gh,
git2r,
httr2,
memoise,
Expand Down
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

export(orgmetrics_dashboard)
export(repo_pkgstats_history)
export(repometrics_data_repo)
export(repometrics_data_user)
importFrom(memoise,memoise)
1 change: 1 addition & 0 deletions R/cm-collate-all.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ get_cm_fns <- function (what = "metric") {
what <- match.arg (what, c ("metric", "model"))
ptn <- paste0 ("^cm\\_", what, "\\_")

requireNamespace ("repometrics", quietly = TRUE)
pkg_fns <- ls (envir = asNamespace ("repometrics"))
fns <- grep (ptn, pkg_fns, value = TRUE)
fns <- fns [which (!grepl ("internal", fns))]
Expand Down
2 changes: 1 addition & 1 deletion R/cm-collate-orgs.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
dat_i <- readRDS (f_tmp)
} else {
dat_i <- list (
repo = repometrics_data_repo (path_i),
repo = repometrics::repometrics_data_repo (path_i),

Check warning on line 13 in R/cm-collate-orgs.R

View check run for this annotation

Codecov / codecov/patch

R/cm-collate-orgs.R#L13

Added line #L13 was not covered by tests
metrics = metrics_over_end_dates (
path_i,
end_date = end_date,
Expand Down
98 changes: 0 additions & 98 deletions R/data-dependencies.R

This file was deleted.

197 changes: 0 additions & 197 deletions R/data-gh-contribs.R

This file was deleted.

Loading
Loading