Skip to content

Commit

Permalink
updates dependencies and urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowosad committed Sep 14, 2023
1 parent ea9b4b4 commit 3e7bff0
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Authors@R: c(
)
Description: Thematic maps are geographical maps in which spatial data distributions are visualized. This package offers a flexible, layer-based, and easy to use approach to create thematic maps, such as choropleths and bubble maps.
Version: 4.0
Date: 2023-08-13
Date: 2023-08-14
Encoding: UTF-8
Depends:
R (>= 3.5.0),
Expand Down Expand Up @@ -47,13 +47,15 @@ Suggests:
rmarkdown,
knitr,
png,
cartogram,
maptiles,
osmdata,
ggplot2,
dplyr,
tidyr,
shiny,
testthat,
terra,
colorspace,
covr,
av,
gifski
Expand Down
1 change: 0 additions & 1 deletion R/tmapTrans.R
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ tmapTransCartogram = function(shpTM, area, ord__, plot.order, args) {
message("Cartogram in progress...")

x = sf::st_sf(geometry = s, weight = area, tmapID__ = shpTM$tmapID)
require(cartogram)

if (!requireNamespace("cartogram")) stop("cartogram pacakge needed", call. = FALSE)

Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tmap: thematic maps in R
[![License](https://img.shields.io/badge/License-GPL%20v3-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-3.0.html)
[![CRAN](http://www.r-pkg.org/badges/version/tmap)](https://cran.r-project.org/package=tmap)
[![cran checks](https://cranchecks.info/badges/worst/tmap)](https://cran.r-project.org/web/checks/check_results_tmap.html)
[![Downloads](http://cranlogs.r-pkg.org/badges/tmap?color=brightgreen)](http://www.r-pkg.org/pkg/tmap)
[![Downloads](http://cranlogs.r-pkg.org/badges/tmap?color=brightgreen)](https://www.r-pkg.org:443/pkg/tmap)

[`tmap`][1] is an actively maintained open-source [R][2]-library for drawing thematic maps. The API is based on [*A Layered Grammar of Graphics*][4] and resembles the syntax of [`ggplot2`][3], a popular R-library for drawing charts.

Expand Down Expand Up @@ -43,18 +43,18 @@ For Linux and macOS users who are new to working with spatial data in R, this ma
No additional installation required.

**Linux (Ubuntu)**
See https://geocompr.github.io/post/2020/installing-r-spatial-ubuntu/. Please address installation issues in this [issue](https://github.com/mtennekes/tmap/issues/150).
See https://geocompx.org/post/2020/installing-r-spatial-packages-linux/. Please address installation issues in this [issue](https://github.com/r-tmap/tmap/issues/150).

**macOS**
See http://www.kyngchaos.com. Please address installation issues in this [issue](https://github.com/mtennekes/tmap/issues/149).
See http://www.kyngchaos.com. Please address installation issues in this [issue](https://github.com/r-tmap/tmap/issues/149).


Development
------------


The latest development version can be installed using `devtools`.
In order to use the development version of `tmap`, it is recommended to use the development version of [tmaptools](http://github.com/mtennekes/tmaptools) as well:
In order to use the development version of `tmap`, it is recommended to use the development version of [tmaptools](https://github.com/r-tmap/tmaptools) as well:

```r
library(remotes)
Expand Down Expand Up @@ -126,32 +126,32 @@ Getting help

There are two main places to get help with `tmap`:

1. [stackoverflow](http://stackoverflow.com/tags/tmap) is a great source of answers to common tmap questions.
1. [stackoverflow](https://stackoverflow.com/tags/tmap) is a great source of answers to common tmap questions.
It is also a great place to get help, once you have created a reproducible example that illustrates your problem.
Please tag your questions with *tmap*.
2. If you have a request or if think your problem is caused by a bug, please open an [issue](https://github.com/mtennekes/tmap/issues), preferably with a reproducible example.
2. If you have a request or if think your problem is caused by a bug, please open an [issue](https://github.com/r-tmap/tmap/issues), preferably with a reproducible example.


[1]: http://cran.r-project.org/package=tmap
[2]: http://stackoverflow.com/tags/r/info
[3]: http://cran.r-project.org/package=ggplot2
[1]: https://cran.r-project.org/package=tmap
[2]: https://stackoverflow.com/tags/r/info
[3]: https://cran.r-project.org/package=ggplot2
[4]: http://vita.had.co.nz/papers/layered-grammar.pdf
[5]: https://github.com/mtennekes/tmap
[5]: https://github.com/r-tmap/tmap
[6]: https://cran.r-project.org/web/packages/tmap/vignettes/tmap-nutshell.html
[7]: http://spatcontrol.net/SpatialControl/2015/11/06/tmap-r-package/
[8]: http://www.twiav.nl/en/blog0002en.php
[8]: https://twiav.nl/en/blog0002en.php
[9]: https://cran.r-project.org/doc/contrib/intro-spatial-rl.pdf
[10]: https://mtennekes.github.io/downloads/presentations/tmap_user2015.pdf
[11]: https://cran.r-project.org/web/packages/tmap/vignettes/tmap-modes.html
[12]: http://cwrld.us/Rmaps10
[13]: https://github.com/mtennekes/tmap/blob/master/demo/US_choropleth.R
[14]: https://github.com/mtennekes/tmap/blob/master/demo/crimes_in_Greater_London.R
[15]: https://github.com/Robinlovelace/Creating-maps-in-R/blob/master/vignettes/vspd-base-shiny.Rmd
[16]: http://stackoverflow.com/questions/tagged/tmap
[16]: https://stackoverflow.com/questions/tagged/tmap
[17]: http://www.computerworld.com/article/2921176/business-intelligence/great-r-packages-for-data-import-wrangling-visualization.html
[18]: http://www.computerworld.com/article/3175623/data-analytics/mapping-in-r-just-got-a-whole-lot-easier.html
[19]: https://sesync-ci.github.io/maps-in-R-lesson/
[20]: http://geocompr.robinlovelace.net/adv-map.html
[20]: https://r.geocompx.org/adv-map.html
[21]: https://mtennekes.github.io/downloads/presentations/tmap_user2017.pdf
[22]: https://gotellilab.github.io/Bio381/StudentPresentations/SpatialDataTutorial.html
[23]: https://mtennekes.github.io/downloads/presentations/tmap_opengeo_muenster.pdf
Expand Down
4 changes: 2 additions & 2 deletions vignettes/tmap_sneak_peek.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ tm_shape(World, crs = "+proj=eck4") +
```

(We haven't decided whether to include `tm_cartogram` in the **tmap** package or in an extension package, e.g., **tmapCartogram** or **tmapExtra**.
Let us know your opinion at https://github.com/mtennekes/tmap/issues/565)
Let us know your opinion at https://github.com/r-tmap/tmap/issues/565)

## Scales

Expand Down Expand Up @@ -504,7 +504,7 @@ This can be set with just one command: `tmap_style("tmap_v3")`

There will be a huge number of directly available color palettes.
We have not settled on the exact details, e.g. which palettes to include, and how they can be obtained.
Ideas are welcome (https://github.com/mtennekes/tmap/issues/566).
Ideas are welcome (https://github.com/r-tmap/tmap/issues/566).

In the current development version, there is a function similar to `tmaptools::palette_explorer`, which renders a long png in the viewer panel of RStudio or the browser:

Expand Down
4 changes: 2 additions & 2 deletions vignettes/tmap_vv.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ knitr::opts_chunk$set(echo = TRUE, fig.width = 9, warning = FALSE)
```

```{r, echo = FALSE, message = FALSE}
#library(tmap)
devtools::load_all()
library(tmap)
#devtools::load_all()
data(World, metro, rivers, land)
#tmap_design_mode()
```
Expand Down

0 comments on commit 3e7bff0

Please sign in to comment.