Skip to content

Commit 69ba845

Browse files
committed
readme updated, help files and repaired reference error in argument to summarize_dyads()
1 parent d832aeb commit 69ba845

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

R/summarize_dyads.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' @param df_prep produced in the align_dyads function
77
#' @param custom_lags integer vector, should any lags be added in addition to -2, 0, 2
88
#' @param corr_type option for computing lagged correlations turn-by-turn covariance (default='Pearson')
9-
#' @param sumdat default=TRUE, group and summarize data, two rows per conversation, one row for each participant, false will fill down summary statistics across all exchanges
9+
#' @param sumdat_only default=TRUE, group and summarize data, two rows per conversation, one row for each participant, false will fill down summary statistics across all exchanges
1010
#' @importFrom DescTools AUC
1111
#' @importFrom dplyr across
1212
#' @importFrom dplyr bind_rows

README.Rmd

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,18 @@ Open-source software for computing main effects and indices of alignment across
2323
if (!requireNamespace("desc", quietly = TRUE)) {
2424
install.packages("desc")
2525
}
26-
pkg_version <- desc::desc_get_version()
26+
pkg_version <- desc::desc_get_version(file = "DESCRIPTION")
2727
2828
# Generate badges with HTML wrapper for horizontal layout
2929
cat('<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px;">')
3030
31-
# GitHub Release badge
32-
cat('[![GitHub release](https://img.shields.io/github/v/release/Reilly-ConceptsCognitionLab/ConversationAlign?color=blue&include_prereleases&label=Release)](https://github.com/Reilly-ConceptsCognitionLab/ConversationAlign/releases)')
31+
# GitHub Release badge with specific version
32+
cat(sprintf('[![GitHub release](https://img.shields.io/github/v/release/Reilly-ConceptsCognitionLab/ConversationAlign?color=blue&include_prereleases&label=Release&v=%s)](https://github.com/Reilly-ConceptsCognitionLab/ConversationAlign/releases)', pkg_version))
33+
34+
# GitHub Stars badge
35+
cat('
36+
[![GitHub stars](https://img.shields.io/github/stars/Reilly-ConceptsCognitionLab/ConversationAlign?style=social)](https://github.com/Reilly-ConceptsCognitionLab/ConversationAlign/stargazers)
37+
')
3338
3439
# Other badges
3540
cat('
@@ -39,6 +44,7 @@ cat('
3944
')
4045
4146
cat('</div>') # Close flex container
47+
4248
```
4349

4450

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ across coversation partners in dyadic conversation transcripts. <br>
1111
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px;">
1212

1313
[![GitHub
14-
release](https://img.shields.io/github/v/release/Reilly-ConceptsCognitionLab/ConversationAlign?color=blue&include_prereleases&label=Release)](https://github.com/Reilly-ConceptsCognitionLab/ConversationAlign/releases)
14+
release](https://img.shields.io/github/v/release/Reilly-ConceptsCognitionLab/ConversationAlign?color=blue&include_prereleases&label=Release&v=0.2.0)](https://github.com/Reilly-ConceptsCognitionLab/ConversationAlign/releases)
15+
[![GitHub
16+
stars](https://img.shields.io/github/stars/Reilly-ConceptsCognitionLab/ConversationAlign?style=social)](https://github.com/Reilly-ConceptsCognitionLab/ConversationAlign/stargazers)
17+
1518
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/Reilly-ConceptsCognitionLab/ConversationAlign/graphs/commit-activity)
1619
[![License: GPL
1720
v3+](https://img.shields.io/badge/License-GPL%20v3+-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

man/summarize_dyads.Rd

Lines changed: 2 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)