Skip to content

Commit

Permalink
v2.2.2 release candidate (#907)
Browse files Browse the repository at this point in the history
* Start v2.2.2 release candidate

* Update URLs

* Fix/update more urls

* Check-in revdep results

* Rbuildignore all of vignettes

* Get rid of vignette yaml matter

* Also remove VignetteBuilder field
  • Loading branch information
cpsievert authored Mar 27, 2024
1 parent dc772e7 commit 77e443f
Show file tree
Hide file tree
Showing 9 changed files with 195 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
^revdep$
^CRAN-SUBMISSION$
^_dev$
^vignettes/articles$
^vignettes$
^pkgdown$
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: leaflet
Title: Create Interactive Web Maps with the JavaScript 'Leaflet' Library
Version: 2.2.1.9000
Version: 2.2.2
Authors@R: c(
person("Joe", "Cheng", , "[email protected]", role = c("aut", "cre")),
person("Barret", "Schloerke", , "[email protected]", role = "aut",
Expand Down Expand Up @@ -82,4 +82,3 @@ Config/Needs/website: dplyr, geojsonio, ncdf4, tidyverse/tidytemplate
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.1
VignetteBuilder: knitr
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# leaflet (development version)
# leaflet 2.2.2

* Fixed #893: Correctly call `terra::crs()` when checking the CRS of a `SpatVector` object in `pointData()` or `polygonData()` (thanks @mkoohafkan, #894).
* `{leaflet}` now has a brand new pkgdown site (@olivroy, #902)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![R build status](https://github.com/rstudio/leaflet/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rstudio/leaflet/actions)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/leaflet)](https://www.r-pkg.org/pkg/leaflet)
[![](https://www.r-pkg.org/badges/version/leaflet)](https://www.r-pkg.org/pkg/leaflet)
[![RStudio community](https://img.shields.io/badge/community-leaflet-blue?style=social&logo=rstudio&logoColor=75AADB)](https://community.rstudio.com/new-topic?title=&tags=leaflet&body=%0A%0A%0A%20%20--------%0A%20%20%0A%20%20%3Csup%3EReferred%20here%20by%20%60leaflet%60%27s%20GitHub%3C/sup%3E%0A&u=barret)
[![RStudio community](https://img.shields.io/badge/community-leaflet-blue?style=social&logo=rstudio&logoColor=75AADB)](https://forum.posit.co/new-topic?title=&tags=leaflet&body=%0A%0A%0A%20%20--------%0A%20%20%0A%20%20%3Csup%3EReferred%20here%20by%20%60leaflet%60%27s%20GitHub%3C/sup%3E%0A&u=barret)
<!-- badges: end -->

[Leaflet](https://leafletjs.com) is an open-source JavaScript library for
Expand Down
12 changes: 8 additions & 4 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Revdeps

## New problems (1)
## Failed to check (5)

|package |version |error |warning |note |
|:-------|:-------|:-----|:-------|:------|
|[SSDM](problems.md#ssdm)|0.2.9 | | |__+1__ |
|package |version |error |warning |note |
|:--------------------|:-------|:-----|:-------|:----|
|inlmisc |? | | | |
|leaflet.multiopacity |? | | | |
|leaflet.opacity |? | | | |
|modchart |? | | | |
|palmid |? | | | |

12 changes: 2 additions & 10 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
## revdepcheck results

We checked 163 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 167 reverse dependencies (162 from CRAN + 5 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 1 new problems
* We saw 0 new problems
* We failed to check 0 packages

Issues with CRAN packages are summarised below.

### New problems
(This reports the first line of each new failure)

* SSDM
checking installed package size ... NOTE

176 changes: 175 additions & 1 deletion revdep/failures.md
Original file line number Diff line number Diff line change
@@ -1 +1,175 @@
*Wow, no problems at all. :)*
# inlmisc

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/inlmisc
* Number of recursive dependencies: 137

Run `revdepcheck::cloud_details(, "inlmisc")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
```
# leaflet.multiopacity

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/leaflet.multiopacity
* Number of recursive dependencies: 84

Run `revdepcheck::cloud_details(, "leaflet.multiopacity")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
```
# leaflet.opacity

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/leaflet.opacity
* Number of recursive dependencies: 77

Run `revdepcheck::cloud_details(, "leaflet.opacity")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
```
# modchart

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/modchart
* Number of recursive dependencies: 123

Run `revdepcheck::cloud_details(, "modchart")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
```
# palmid

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/palmid
* Number of recursive dependencies: 128

Run `revdepcheck::cloud_details(, "palmid")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
```
25 changes: 1 addition & 24 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -1,24 +1 @@
# SSDM

<details>

* Version: 0.2.9
* GitHub: https://github.com/sylvainschmitt/SSDM
* Source code: https://github.com/cran/SSDM
* Date/Publication: 2023-10-24 13:40:18 UTC
* Number of recursive dependencies: 123

Run `revdepcheck::cloud_details(, "SSDM")` for more info

</details>

## Newly broken

* checking installed package size ... NOTE
```
installed size is 5.2Mb
sub-directories of 1Mb or more:
R 1.5Mb
doc 3.3Mb
```

*Wow, no problems at all. :)*
15 changes: 5 additions & 10 deletions vignettes/leaflet.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
title: "Introduction to leaflet"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Introduction to leaflet}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r, include = FALSE}
Expand All @@ -16,7 +11,7 @@ knitr::opts_chunk$set(

## Introduction

[Leaflet](https://leafletjs.com) is one of the most popular open-source JavaScript libraries for interactive maps. It's used by websites ranging from [The New York Times](http://www.nytimes.com/projects/elections/2013/nyc-primary/mayor/map.html) and [The Washington Post](http://www.washingtonpost.com/sf/local/2013/11/09/washington-a-world-apart/) to [GitHub](https://github.com/blog/1528-there-s-a-map-for-that) and [Flickr](https://www.flickr.com/map), as well as GIS specialists like [OpenStreetMap](http://www.openstreetmap.org/), [Mapbox](http://www.mapbox.com/), and [CartoDB](http://cartodb.com/).
[Leaflet](https://leafletjs.com) is one of the most popular open-source JavaScript libraries for interactive maps. It's used by websites ranging from [The New York Times](https://www.nytimes.com/projects/elections/2013/nyc-primary/mayor/map.html) and [The Washington Post](https://www.washingtonpost.com/sf/local/2013/11/09/washington-a-world-apart/) to [GitHub](https://github.blog/2013-06-13-there-s-a-map-for-that/) and [Flickr](https://www.flickr.com/map), as well as GIS specialists like [OpenStreetMap](https://www.openstreetmap.org/), [Mapbox](https://www.mapbox.com/), and [CartoDB](https://carto.com/).

This R package makes it easy to integrate and control Leaflet maps in R.

Expand All @@ -31,7 +26,7 @@ This R package makes it easy to integrate and control Leaflet maps in R.
* Popups
* GeoJSON
* Create maps right from the R console or RStudio
* Embed maps in [knitr](http://yihui.name/knitr/)/[R Markdown](http://rmarkdown.rstudio.com/) documents and [Shiny](http://shiny.rstudio.com/) apps
* Embed maps in [knitr](https://yihui.org/knitr/)/[R Markdown](https://rmarkdown.rstudio.com/) documents and [Shiny](https://shiny.posit.co/) apps
* Easily render spatial objects from the `sp` or `sf` packages, or data frames with latitude/longitude columns
* Use map bounds and mouse events to drive Shiny logic
* Display maps in non spherical mercator projections
Expand All @@ -47,7 +42,7 @@ install.packages("leaflet")
# devtools::install_github("rstudio/leaflet")
```

Once installed, you can use this package at the R console, within [R Markdown](http://rmarkdown.rstudio.com/) documents, and within [Shiny](http://shiny.rstudio.com/) applications.
Once installed, you can use this package at the R console, within [R Markdown](https://rmarkdown.rstudio.com/) documents, and within [Shiny](https://shiny.posit.co/) applications.

### Basic Usage

Expand All @@ -69,7 +64,7 @@ m <- leaflet() %>%
m # Print the map
```

In case you're not familiar with the [magrittr](https://github.com/smbache/magrittr) pipe operator (`%>%`), here is the equivalent without using pipes:
In case you're not familiar with the [magrittr](https://github.com/tidyverse/magrittr) pipe operator (`%>%`), here is the equivalent without using pipes:

```{r eval=FALSE}
m <- leaflet()
Expand All @@ -80,6 +75,6 @@ m

### Next Steps

We highly recommend that you proceed to [The Map Widget](map_widget.html) page before exploring the rest of this site, as it describes common idioms we'll use throughout the examples on the other pages.
We highly recommend that you proceed to [The Map Widget](widget.html) page before exploring the rest of this site, as it describes common idioms we'll use throughout the examples on the other pages.

Although we have tried to provide an R-like interface to Leaflet, you may want to check out the [API documentation](https://leafletjs.com/reference.html) of Leaflet occasionally when the meanings of certain parameters are not clear to you.

0 comments on commit 77e443f

Please sign in to comment.