Create function [plot_current]
Opened this issue · 0 comments
soriadelva commented
plot_current
Generate a leaflet map of the current climatic zones, and the % climate match of the species of interest with these zones:
The different species can be selected in the menu on the map.
Other things to take into account:
- Plot the region outline on top of the map (see #16)
- Don't plot the occurrence records on top of the map by default (see #10)
- When the user defines a region in the function, the leaflet maps should be immediately zoomed in on this region. (see #9)
Checklist
- maak een nieuw R-bestand
- sla het R bestand op onder
./R
met filenaam is gelijk aan functienaam - voorzie een functie titel met
#'
op regel 1 van je script - voorzie een auteur met
#' @author
- voorzie een beschrijving met
#' @description
- voorzie uitleg over de input parameter(s) met
#' @param name
- voorzie uitleg over de output van de functie met
#' @returns
- voorzie minstens 1 voorbeeld van het gebruik van de functie dmv
#' @examples
- voorzie de export - tag dmv
#' @export
(#14) - voer
usethis::use_package("packagename", min_version = TRUE)
uit in de console voor iedere package die je gebruikt. - voer
roxygen2::roxygenise()
uit in de console - voer
devtools::check()
uit in de console - los eventuele errors, warnings en notes1 op
- maak een pull request met @soriadelva of @SanderDevisscher en eventueel andere relevante gebruikers als reviewer.
1in de mate van het mogelijke