-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from baslat:use_st_bbox
Use_st_bbox
- Loading branch information
Showing
11 changed files
with
83 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^LICENSE\.md$ | ||
^\.github$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: R-CMD-check | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
R_KEEP_PKG_SOURCE: yes | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::rcmdcheck | ||
needs: check | ||
|
||
- uses: r-lib/actions/check-r-package@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
Type: Package | ||
Package: bbb | ||
Title: Build Bounding Boxes | ||
Version: 0.4.1 | ||
Version: 1.0.0 | ||
Author: Abasi Latcham | ||
Maintainer: Bas <abasi.latcham@gmail.com> | ||
Description: Interactively create a bounding box. Drag a rectangle, make a | ||
bounding box. | ||
License: MIT + file LICENSE | ||
URL: https://github.com/baslat/bbb | ||
BugReports: https://github.com/baslat/bbb/issues | ||
Imports: | ||
Imports: | ||
glue, | ||
leaflet, | ||
leaflet.extras, | ||
magrittr, | ||
purrr, | ||
rlang (>= 0.1.2), | ||
rstudioapi, | ||
shiny, | ||
tibble | ||
Suggests: | ||
sf, | ||
shiny | ||
Suggests: | ||
dplyr, | ||
purrr, | ||
roxygen2, | ||
spelling, | ||
testthat (>= 3.0.0) | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Language: en-US | ||
LazyData: true | ||
RoxygenNote: 7.1.1 | ||
RoxygenNote: 7.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,41 @@ | ||
# bbb 1.0.0 | ||
|
||
- Use `{sf}` to make the bounding box with `sf::st_bbox()`. | ||
|
||
# bbb 0.4.1 | ||
* `box` now returns the code to set CRS attribute with EPSG:4326 in accordance | ||
|
||
- `box` now returns the code to set CRS attribute with EPSG:4326 in accordance | ||
with [Stack | ||
Exchange](https://gis.stackexchange.com/questions/310091/what-does-the-default-crs-being-epsg3857-in-leaflet-mean) | ||
|
||
# bbb 0.4.0 | ||
* `box` now returns the code to set CRS attribute with EPSG:3857 in accordance | ||
|
||
- `box` now returns the code to set CRS attribute with EPSG:3857 in accordance | ||
with [leaflet documentation](https://rstudio.github.io/leaflet/projections.html) | ||
, and this is respected by `morph` | ||
* minor didactic tweaks | ||
- minor didactic tweaks | ||
|
||
# bbb 0.3.0 | ||
* adds `morph` functions to change the format of bounding boxes | ||
* fixes an incorrect reference in the returned code | ||
* changes to use left, right etc instead of xmin, xmax in returned code | ||
* removes `crayon` from dependencies | ||
* adds `dplyr` to `suggests` | ||
|
||
- adds `morph` functions to change the format of bounding boxes | ||
- fixes an incorrect reference in the returned code | ||
- changes to use left, right etc instead of xmin, xmax in returned code | ||
- removes `crayon` from dependencies | ||
- adds `dplyr` to `suggests` | ||
|
||
# bbb 0.2.0 | ||
* removes pipe from returned code | ||
* unforces bbox code to print to console | ||
* makes the instructions more explicit | ||
* removes `sf` from dependencies | ||
* removes most of the unnecessary features | ||
|
||
- removes pipe from returned code | ||
- unforces bbox code to print to console | ||
- makes the instructions more explicit | ||
- removes `sf` from dependencies | ||
- removes most of the unnecessary features | ||
|
||
# bbb 0.1.1 | ||
* forces bbox code to print to console | ||
* comments out creation of global objects | ||
|
||
- forces bbox code to print to console | ||
- comments out creation of global objects | ||
|
||
# bbb 0.1.0 | ||
* Added a `NEWS.md` file to track changes to the package. | ||
|
||
- Added a `NEWS.md` file to track changes to the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.