Skip to content

Commit

Permalink
badge
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Apr 26, 2023
1 parent 4e46534 commit 3edf52e
Show file tree
Hide file tree
Showing 26 changed files with 18 additions and 11 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
^cran-comments\.md$
^CRAN-RELEASE$
^\.github$
^CRAN-SUBMISSION$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ceramic
Title: Download Online Imagery Tiles
Version: 0.8.0
Version: 0.8.0.9001
Authors@R: c(
person("Michael", "Sumner", email = "mdsumner@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-2471-7511")),
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
8 changes: 6 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ editor_options:

<!-- badges: start -->
[![R-CMD-check](https://github.com/hypertidy/ceramic/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/hypertidy/ceramic/actions/workflows/R-CMD-check.yaml)
[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/ceramic)](http://cranlogs.r-pkg.org/badges/ceramic)
<!-- badges: end -->

```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
out.width = "100%",
dev = "jpeg",
dev.args = list( jpeg = list(quality =50))
)
options(warn = -1)
```
Expand All @@ -24,7 +28,7 @@ options(warn = -1)
The goal of ceramic is to obtain web map tiles. Use a spatial object to define the region of interest.


```{r}
```{r extent1}
library(ceramic)
roi <- ext(100, 160, -50, 10)
im <- cc_location(roi)
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- badges: start -->

[![R-CMD-check](https://github.com/hypertidy/ceramic/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/hypertidy/ceramic/actions/workflows/R-CMD-check.yaml)
[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/ceramic)](http://cranlogs.r-pkg.org/badges/ceramic)
<!-- badges: end -->

# ceramic
Expand All @@ -20,7 +21,7 @@ im <- cc_location(roi)
plotRGB(im)
```

<img src="man/figures/README-unnamed-chunk-1-1.png" width="100%" />
<img src="man/figures/README-extent1-1.jpeg" width="100%" />

The terra package is always loaded by ceramic, so we can assume the use
of its functions, ceramic accepts a wider range of inputs than terra
Expand All @@ -40,7 +41,7 @@ im <- cc_location(bol)
plotRGB(im)
```

<img src="man/figures/README-extent2-1.png" width="100%" />
<img src="man/figures/README-extent2-1.jpeg" width="100%" />

Even if the data uses a map projection it will be converted into a
region to match the Mercator extents used by Mapbox image servers.
Expand All @@ -62,7 +63,7 @@ plot(dem_nz, col = grey.colors(128))
plot(st_transform(st_cast(north, "MULTILINESTRING")["Name"], terra::crs(dem_nz)), add = TRUE, lwd = 5)
```

<img src="man/figures/README-unnamed-chunk-2-1.png" width="100%" />
<img src="man/figures/README-unnamed-chunk-1-1.jpeg" width="100%" />

## I thought you said *tiles*?

Expand Down Expand Up @@ -234,7 +235,7 @@ text(middle(tiles$xmin, tiles$xmax), middle(tiles$ymin, tiles$ymax), lab = sprin
col = "yellow")
```

<img src="man/figures/README-example01-1.png" width="100%" />
<img src="man/figures/README-example01-1.jpeg" width="100%" />

``` r

Expand Down
7 changes: 4 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# ceramic 0.8.0

* Fixed LazyData note on CRAN (ceramic now has a data set installed).
* Second submit, reduced README size.

* There's a curl message on CRAN, but for old windows release.
* Fixed LazyData note on CRAN (ceramic now has a data set installed).

* (There's a curl message on CRAN, but for old windows release. )

Thank you.

## Test environments

* Ubuntu R 4.2.3
* win-builder (devel and release)
* win-builder (devel)
* mac-builder

## R CMD check results
Expand Down
2 changes: 1 addition & 1 deletion data-raw/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ ozdata$proj <- list(sp = sp::spTransform(ozdata$ll$sp, prj),



usethis::use_data(merc_world, ozdata, internal = TRUE, overwrite = T)
usethis::use_data(merc_world, ozdata, internal = TRUE, overwrite = T, compress = "xz")

Binary file removed man/figures/README-elevation-1.png
Binary file not shown.
Binary file removed man/figures/README-example-1.png
Binary file not shown.
Binary file added man/figures/README-example01-1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-example01-1.png
Binary file not shown.
Binary file added man/figures/README-extent1-1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/README-extent2-1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-extent2-1.png
Binary file not shown.
Binary file added man/figures/README-nz-spData-1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-nz-spData-1.png
Binary file not shown.
Binary file removed man/figures/README-tasmania-1.png
Binary file not shown.
Binary file removed man/figures/README-tile-add-plot.png
Binary file not shown.
Binary file removed man/figures/README-tile-plot.png
Binary file not shown.
Binary file added man/figures/README-unnamed-chunk-1-1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-unnamed-chunk-1-1.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-1-2.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-2-1.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-3-1.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-4-1.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-4-2.png
Binary file not shown.

0 comments on commit 3edf52e

Please sign in to comment.