Skip to content

Commit 2199285

Browse files
committed
fixed R CMD Check
1 parent f392477 commit 2199285

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

R/plugin-graticule.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ leafletGraticuleDependencies <- function() {
1414
#'
1515
#' @param map a map widget object
1616
#' @param interval The spacing in map units between horizontal and vertical lines.
17-
#' @param style path options for the generated lines. See \link{http://leafletjs.com/reference.html#path-options}
17+
#' @param style path options for the generated lines. See \url{http://leafletjs.com/reference.html#path-options}
1818
#' @param layerId the layer id
1919
#' @param group the name of the group this layer belongs to.
2020
#' @examples

R/plugin-minimap.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
globalVariables(c('providers')) # To make R CMD Check happy
2+
13
leafletMiniMapDependencies <- function() {
24
list(
35
htmltools::htmlDependency(
@@ -14,7 +16,7 @@ leafletMiniMapDependencies <- function() {
1416
#' \url{https://github.com/Norkart/Leaflet-MiniMap}
1517
#'
1618
#' @param map a map widget object
17-
#' @param tiles URL for tiles or one of the \code{\link{providers}}
19+
#' @param tiles URL for tiles or one of the pre-defined providers.
1820
#' @param position The standard Leaflet.Control position parameter,
1921
#' used like all the other controls.
2022
#' Defaults to 'bottomright'.
@@ -59,6 +61,7 @@ leafletMiniMapDependencies <- function() {
5961
#' addTiles() %>%
6062
#' addMiniMap()
6163
#'
64+
#' @seealso \code{\link{providers}}
6265
#' @export
6366
addMiniMap <- function(
6467
map,

man/addGraticule.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/addMiniMap.Rd

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)