Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAN resubmission #127

Merged
merged 3 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: talkr
Type: Package
Title: Plotting Conversation Data
Version: 0.1.2
Version: 0.1.3
Authors@R: c(
person("Mark", "Dingemanse", email = "[email protected]", role = c("aut", "cre")),
person("Barbara", "Vreede", email = "[email protected]", role = "aut"),
Expand All @@ -10,7 +10,11 @@ Authors@R: c(
person("Andreas", "Liesenfeld", email = "[email protected]", role = "ctb"),
person("Netherlands eScience Center", role = c("cph", "fnd"))
)
Description: Functions to plot elements of conversations.
Description: Visualisation, analysis and quality control of conversational data.
Rapid and visual insights into the nature, timing and quality of
time-aligned annotations in conversational corpora.
For more details, see
Dingemanse et al., (2022) <doi:10.18653/v1/2022.acl-long.385>.
License: Apache License (>= 2)
Encoding: UTF-8
LazyData: true
Expand Down
2 changes: 2 additions & 0 deletions R/geom_token.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#' @param data A tokenized data frame (see `tokenize()`).
#' @inheritParams ggplot2::layer
#' @inheritParams ggplot2::geom_point
#'
#' @return A ggplot2 layer corresponding to a token
#' @export
geom_token <- function(data, mapping = NULL,
stat = "identity", position = "identity",
Expand Down
2 changes: 2 additions & 0 deletions R/geom_turn.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#' @inheritParams ggplot2::layer
#' @inheritParams ggplot2::geom_rect
#' @param height The height of the turn-taking rectangles
#'
#' @return A ggplot2 layer corresponding to a turn-taking rectangle
#' @export
geom_turn <- function(mapping = NULL, data = NULL,
stat = "identity", position = "identity",
Expand Down
1 change: 1 addition & 0 deletions R/report.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#'
#' @param data talkr dataset
#'
#' @return No return, just prints a summary to the console
#' @export
report_stats <- function(data) {
summary <- report(data)
Expand Down
5 changes: 3 additions & 2 deletions R/theme_turnPlot.R
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#' theme for the turn plot
#' T heme for the turn plot
#'
#' @param base_size int
#' @param base_family chr
#' @param ticks bool
#'
#' @importFrom ggplot2 %+replace%
#'
#' @return ggplot2 custom theme for turn plots
#' @export
#'
theme_turnPlot <- function(base_size = 11, base_family = "serif", ticks = TRUE) {
ggthemes::theme_tufte(
base_size = base_size,
Expand Down
3 changes: 3 additions & 0 deletions man/geom_token.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/geom_turn.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/report_stats.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions man/theme_turnPlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading