Skip to content

Commit

Permalink
fix errors and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewallenbruce committed Dec 11, 2024
1 parent 2e55a2e commit eab54b3
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 206 deletions.
13 changes: 1 addition & 12 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
# Generated by roxygen2: do not edit by hand

export(add_counties)
export(affiliations)
export(api_names)
export(bene_years)
export(beneficiaries)
export(betos)
export(change)
export(chg)
export(clinicians)
export(compare_hcpcs)
export(datasets)
export(df2chr)
export(display_long)
export(distros_dac)
export(distros_main)
export(distros_open)
export(duration_vec)
export(gen_data)
export(geomean)
export(get_pin)
export(gt_check_xmark)
export(gt_datadict)
Expand All @@ -28,7 +23,6 @@ export(hospitals)
export(laboratories)
export(last_dttm)
export(list_pins)
export(make_interval)
export(medline)
export(mount_board)
export(ndc_lookup)
Expand All @@ -40,7 +34,6 @@ export(opt_out)
export(order_refer)
export(out_years)
export(outpatient)
export(pct)
export(pending)
export(prescribers)
export(prescribers_)
Expand All @@ -51,17 +44,13 @@ export(quality_eligibility_)
export(quality_payment)
export(quality_payment_)
export(reassignments)
export(ror)
export(rx_years)
export(rxnorm)
export(summary_stats)
export(taxonomy_crosswalk)
export(tidyup)
export(util_years)
export(utilization)
export(utilization_)
export(years_df)
export(years_vec)
import(rlang)
importFrom(collapse,"%=%")
importFrom(collapse,"%==%")
Expand Down
2 changes: 1 addition & 1 deletion R/calculations.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' @description Common utility functions
#'
#' @examples
#' @examplesIf FALSE
#' ex <- gen_data(2020:2025)
#' head(ex)
#'
Expand Down
2 changes: 1 addition & 1 deletion R/cms.R
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,5 @@ api_years <- function(abb, year) {

api <- cms_update(api)

fuimus::search_in(api, api[["year"]], year)
search_in(api, api[["year"]], year)
}
2 changes: 1 addition & 1 deletion R/format_api_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@ api_years2 <- function(abb, year) {

api <- cms_update(api)

fuimus::search_in(api, api[["year"]], year)
search_in(api, api[["year"]], year)
}
9 changes: 2 additions & 7 deletions R/generated-globals.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ utils::globalVariables(c(
"a2la",
# <laboratories>
"aabb",
# <build_url2>
"abb",
# <laboratories>
"accredited",
# <distros_open>
Expand Down Expand Up @@ -122,8 +124,6 @@ utils::globalVariables(c(
"confirmed_date",
# <ror>
"copy",
# <add_counties>
"county_fips",
# <open_payments>
"covered",
# <open_payments>
Expand Down Expand Up @@ -308,8 +308,6 @@ utils::globalVariables(c(
"organizations_individualScenario",
# <quality_eligibility>
"organizations_virtualGroups",
# <format_api_params>
"params",
# <quality_payment>
"participation_type",
# <mips_2021>
Expand Down Expand Up @@ -371,7 +369,6 @@ utils::globalVariables(c(
"specialty",
# <mips_2021>
"star_value",
# <add_counties>
# <tidyup_geography.rx>
# <tidyup_drug.rx>
# <tidyup_provider.rx>
Expand Down Expand Up @@ -481,7 +478,5 @@ utils::globalVariables(c(
# <distros_main>
# <distros_open>
"year",
# <add_counties>
"zip",
NULL
))
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ tidyup <- function(df,
if (!is.null(chr)) x <- dplyr::mutate(x, dplyr::across(dplyr::contains(chr), as.character))
if (!is.null(up)) x <- dplyr::mutate(x, dplyr::across(dplyr::contains(up), toupper))
if (!is.null(cred)) x <- dplyr::mutate(x, dplyr::across(dplyr::contains(cred), clean_credentials))
if (!is.null(zip)) x <- dplyr::mutate(x, dplyr::across(dplyr::contains(zip), zipcodeR::normalize_zip))
if (!is.null(zip)) x <- dplyr::mutate(x, dplyr::across(dplyr::contains(zip), format_zipcode))
if (!is.null(lgl)) x <- dplyr::mutate(x, dplyr::across(dplyr::contains(lgl), as.logical))

return(x)
Expand Down
51 changes: 0 additions & 51 deletions man/add_counties.Rd

This file was deleted.

28 changes: 28 additions & 0 deletions man/api_names.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

119 changes: 4 additions & 115 deletions man/calculations.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions man/datasets.Rd

This file was deleted.

2 changes: 1 addition & 1 deletion man/distros_main.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit eab54b3

Please sign in to comment.