Skip to content

Commit dea2098

Browse files
committed
implement fixes following CRAN comments
1 parent c2e15d7 commit dea2098

7 files changed

Lines changed: 56 additions & 16 deletions

File tree

CITATION.cff

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ message: 'To cite package "flowmapblue" in publications use:'
88
type: software
99
license: MIT
1010
title: 'flowmapblue: Flow Map Rendering'
11-
version: 0.0.1
11+
version: 0.0.2
1212
doi: 10.32614/CRAN.package.flowmapblue
13-
abstract: Rendering interactive flow maps to visualize numbers of movements between
14-
locations (origin-destination data).
13+
abstract: Create interactive flow maps using `FlowmapBlue` 'TypeScript' library <https://github.com/FlowmapBlue/FlowmapBlue>,
14+
which is a free tool for representing aggregated numbers of movements between geographic
15+
locations as flow maps. It is used to visualize urban mobility, commuting behavior,
16+
bus, subway and air travels, bicycle sharing, human and bird migration, refugee
17+
flows, freight transportation, trade, supply chains, scientific collaboration, epidemiological
18+
and historical data and many other topics. The package allows to either create standalone
19+
flow maps in form of 'htmlwidgets' and save them in 'HTML' files, or integrate flow
20+
maps into 'Shiny' applications.
1521
authors:
1622
- family-names: Boyandin
1723
given-names: Ilya

DESCRIPTION

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
Package: flowmapblue
22
Title: Flow Map Rendering
3-
Version: 0.0.1
3+
Version: 0.0.2
44
Authors@R: c(
55
person("Ilya", "Boyandin", , "ilya@boyandin.me", role = c("aut", "cph"),
66
comment = c(ORCID = "0000-0001-5585-7587")),
77
person("Egor", "Kotov", , "kotov.egor@gmail.com", role = "cre",
88
comment = c(ORCID = "0000-0001-6690-5345"))
99
)
10-
Description: Rendering interactive flow maps to visualize numbers of
11-
movements between locations (origin-destination data).
10+
Description: Create interactive flow maps using `FlowmapBlue` 'TypeScript'
11+
library <https://github.com/FlowmapBlue/FlowmapBlue>, which is a free
12+
tool for representing aggregated numbers of movements between
13+
geographic locations as flow maps. It is used to visualize urban
14+
mobility, commuting behavior, bus, subway and air travels, bicycle
15+
sharing, human and bird migration, refugee flows, freight
16+
transportation, trade, supply chains, scientific collaboration,
17+
epidemiological and historical data and many other topics. The package
18+
allows to either create standalone flow maps in form of 'htmlwidgets'
19+
and save them in 'HTML' files, or integrate flow maps into 'Shiny'
20+
applications.
1221
License: MIT + file LICENSE
1322
URL: https://github.com/FlowmapBlue/flowmapblue.R,
1423
https://flowmapblue.github.io/flowmapblue.R/

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# flowmapblue 0.0.2
2+
3+
* Fixed DESCRIPTION
4+
5+
* Improved documentation for `flowmapblueOutput` and `renderFlowmapblue`
6+
7+
* Fixed missing `\value` tags in the documentation
8+
19
# flowmapblue 0.0.1
210

311
* Initial CRAN submission.

R/flowmapblue.R

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,23 @@ flowmapblue <- function(
148148
#' Output and render functions for using flowmapblue within Shiny
149149
#' applications and interactive Rmd documents.
150150
#'
151-
#' @param outputId output variable to read from
152-
#' @param width,height Must be a valid CSS unit (like \code{'100\%'},
151+
#' @param outputId output variable to read from.
152+
#' @param width,height Must be a valid CSS unit (like \code{'100\%'},
153153
#' \code{'400px'}, \code{'auto'}) or a number, which will be coerced to a
154154
#' string and have \code{'px'} appended.
155-
#' @param expr An expression that generates a flowmapblue
155+
#' @param expr An expression that generates a `flowmapblue` widget.
156156
#' @param env The environment in which to evaluate \code{expr}.
157157
#' @param quoted Is \code{expr} a quoted expression (with \code{quote()})? This
158158
#' is useful if you want to save an expression in a variable.
159159
#'
160+
#' @return
161+
#' \describe{
162+
#' \item{\code{flowmapblueOutput}}{Returns a `shiny.tag.list` object that can be included in a Shiny UI to display the `flowmapblue` widget.}
163+
#' \item{\code{renderFlowmapblue}}{Returns a `shiny.render.function` that is used to generate the `flowmapblue` widget on the server side in a Shiny application.}
164+
#' }
165+
#'
166+
#' @seealso \code{\link[htmlwidgets:shinyWidgetOutput]{shinyWidgetOutput}}, \code{\link[htmlwidgets:shinyRenderWidget]{shinyRenderWidget}}
167+
#'
160168
#' @name flowmapblue-shiny
161169
#'
162170
#' @export

codemeta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
33
"@type": "SoftwareSourceCode",
44
"identifier": "flowmapblue",
5-
"description": "Rendering interactive flow maps to visualize numbers of movements between locations (origin-destination data).",
5+
"description": "Create interactive flow maps using `FlowmapBlue` 'TypeScript' library <https://github.com/FlowmapBlue/FlowmapBlue>, which is a free tool for representing aggregated numbers of movements between geographic locations as flow maps. It is used to visualize urban mobility, commuting behavior, bus, subway and air travels, bicycle sharing, human and bird migration, refugee flows, freight transportation, trade, supply chains, scientific collaboration, epidemiological and historical data and many other topics. The package allows to either create standalone flow maps in form of 'htmlwidgets' and save them in 'HTML' files, or integrate flow maps into 'Shiny' applications.",
66
"name": "flowmapblue: Flow Map Rendering",
77
"relatedLink": "https://flowmapblue.github.io/flowmapblue.R/",
88
"codeRepository": "https://github.com/FlowmapBlue/flowmapblue.R",
99
"issueTracker": "https://github.com/FlowmapBlue/flowmapblue.R/issues",
1010
"license": "https://spdx.org/licenses/MIT",
11-
"version": "0.0.1",
11+
"version": "0.0.2",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",
@@ -77,7 +77,7 @@
7777
},
7878
"SystemRequirements": null
7979
},
80-
"fileSize": "4548.982KB",
80+
"fileSize": "4551.297KB",
8181
"citation": [
8282
{
8383
"@type": "SoftwareSourceCode",

inst/schemaorg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"familyName": "Boyandin",
1515
"givenName": "Ilya"
1616
},
17-
"description": "Rendering interactive flow maps to visualize numbers of movements between locations (origin-destination data).",
17+
"description": "Create interactive flow maps using `FlowmapBlue` 'TypeScript' library <https://github.com/FlowmapBlue/FlowmapBlue>, which is a free tool for representing aggregated numbers of movements between geographic locations as flow maps. It is used to visualize urban mobility, commuting behavior, bus, subway and air travels, bicycle sharing, human and bird migration, refugee flows, freight transportation, trade, supply chains, scientific collaboration, epidemiological and historical data and many other topics. The package allows to either create standalone flow maps in form of 'htmlwidgets' and save them in 'HTML' files, or integrate flow maps into 'Shiny' applications.",
1818
"license": "https://spdx.org/licenses/MIT",
1919
"name": "flowmapblue: Flow Map Rendering",
2020
"programmingLanguage": {
@@ -23,7 +23,7 @@
2323
"url": "https://r-project.org"
2424
},
2525
"runtimePlatform": "R version 4.4.1 (2024-06-14)",
26-
"version": "0.0.1"
26+
"version": "0.0.2"
2727
},
2828
{
2929
"id": "https://doi.org/10.32614/CRAN.package.flowmapblue",

man/flowmapblue-shiny.Rd

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)