Skip to content

Commit

Permalink
edited starter_sf typo
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewphamilton committed Mar 12, 2024
1 parent 3ce00a0 commit 9182ce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/mthd_renew.R
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ methods::setMethod("renew", "VicinityLookup", function (x, package_1L_chr = char
country_chr = x@vicinity_raw_r3 %>% dplyr::pull(country_chr),
area_type_chr = x@vicinity_raw_r3 %>% dplyr::pull(area_type_chr),
area_bndy_yr_chr = x@vicinity_raw_r3 %>% dplyr::pull(area_bndy_yr_chr),
starter_sf = starter_sf_nm_1L_chr, subdivision_chr = x@vicinity_raw_r3 %>%
starter_sf_nm_chr = starter_sf_nm_1L_chr, subdivision_chr = x@vicinity_raw_r3 %>%
dplyr::pull(uid_chr))
x <- renewSlot(x, "vicinity_templates_r3", starter_sf_lup_r3)
}
Expand Down
2 changes: 1 addition & 1 deletion data-raw/s4_fns/renew.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ renew_VicinityLookup <- function(x,
country_chr = x@vicinity_raw_r3 %>% dplyr::pull(country_chr),
area_type_chr = x@vicinity_raw_r3 %>% dplyr::pull(area_type_chr),
area_bndy_yr_chr = x@vicinity_raw_r3 %>% dplyr::pull(area_bndy_yr_chr),
starter_sf = starter_sf_nm_1L_chr,
starter_sf_nm_chr = starter_sf_nm_1L_chr,
subdivision_chr = x@vicinity_raw_r3 %>% dplyr::pull(uid_chr)) ## Assumes length one list
x <- renewSlot(x,
"vicinity_templates_r3",
Expand Down

0 comments on commit 9182ce5

Please sign in to comment.