Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Correct fetching and saving updated radar locations
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Mar 26, 2021
1 parent f6c6060 commit 6ab66d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion data-raw/create_BOM_radar_locations.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ str(new_radar_locations)

## Show Changes from Last Release

To ensure that the data being compared is from the most recent release, reinstall bomrang from CRAN.
To ensure that the data being compared is from the most recent release, reinstall _bomrang_ from CRAN.

```{r diff-codes}
install.packages("bomrang", repos = "http://cran.us.r-project.org")
Expand All @@ -71,6 +71,8 @@ if (!dir.exists("../inst/extdata")) {
dir.create("../inst/extdata", recursive = TRUE)
}
radar_locations <- new_radar_locations
save(radar_locations,
file = "../inst/extdata/radar_locations.rda",
compress = "bzip2")
Expand Down
6 changes: 4 additions & 2 deletions data-raw/create_BOM_radar_locations.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ install.packages("bomrang", repos = "http://cran.us.r-project.org")

##
## The downloaded binary packages are in
## /var/folders/hc/tft3s5bn48gb81cs99mycyf00000gn/T//Rtmp2Igv7e/downloaded_packages
## /var/folders/hc/tft3s5bn48gb81cs99mycyf00000gn/T//Rtmp8LjsfH/downloaded_packages

``` r
load(system.file("extdata", "radar_locations.rda", package = "bomrang"))
Expand Down Expand Up @@ -139,6 +139,8 @@ if (!dir.exists("../inst/extdata")) {
dir.create("../inst/extdata", recursive = TRUE)
}

radar_locations <- new_radar_locations

save(radar_locations,
file = "../inst/extdata/radar_locations.rda",
compress = "bzip2")
Expand All @@ -164,7 +166,7 @@ sessioninfo::session_info()
## collate en_AU.UTF-8
## ctype en_AU.UTF-8
## tz Australia/Perth
## date 2021-03-24
## date 2021-03-26
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
Binary file modified inst/extdata/radar_locations.rda
Binary file not shown.

0 comments on commit 6ab66d1

Please sign in to comment.