Skip to content

Commit 840eb70

Browse files
committed
removed function calls to install external dependencies
1 parent 0631b73 commit 840eb70

File tree

6 files changed

+0
-66
lines changed

6 files changed

+0
-66
lines changed

R/corpus_analytics.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#' @importFrom tidyr pivot_wider
3030
#' @importFrom tidyr separate
3131
#' @importFrom tidyselect where
32-
#' @importFrom utils install.packages
3332
#' @export
3433

3534
#Text_Prep (just with contractions split), Text_Clean (no stopwords), Any dimension in dataframe counts (emo_, phono_, lex_, sem_)

vignettes/CA_Intro.Rmd

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,6 @@ A good conversation is a cooperative endeavor where both parties modify the form
4343
# Installation
4444
Install and load the development version of `ConversationAlign` from [GitHub](https://github.com/) using the `devtools` package.
4545
```{r, message=FALSE, warning=F}
46-
# Check if devtools is installed, if not install it
47-
if (!require("devtools", quietly = TRUE)) {
48-
install.packages("devtools")
49-
}
50-
51-
# Load devtools
52-
library(devtools)
53-
54-
# Check if ConversationAlign is installed, if not install from GitHub
55-
if (!require("ConversationAlign", quietly = TRUE)) {
56-
devtools::install_github("Reilly-ConceptsCognitionLab/ConversationAlign")
57-
}
58-
5946
# Load SemanticDistance
6047
library(ConversationAlign)
6148
```

vignettes/CA_Step1_Read.Rmd

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,6 @@ knitr::opts_chunk$set(
2222
```
2323

2424
```{r, message=FALSE, warning=F, echo=F}
25-
# Check if devtools is installed, if not install it
26-
if (!require("devtools", quietly = TRUE)) {
27-
install.packages("devtools")
28-
}
29-
30-
# Load devtools
31-
library(devtools)
32-
33-
# Check if ConversationAlign is installed, if not install from GitHub
34-
if (!require("ConversationAlign", quietly = TRUE)) {
35-
devtools::install_github("Reilly-ConceptsCognitionLab/ConversationAlign")
36-
}
37-
3825
# Load SemanticDistance
3926
library(ConversationAlign)
4027
```

vignettes/CA_Step2_Prep.Rmd

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ vignette: |
1515
---
1616

1717
```{r, message=FALSE, warning=F, echo=F}
18-
# Check if devtools is installed, if not install it
19-
if (!require("devtools", quietly = TRUE)) {
20-
install.packages("devtools")
21-
}
22-
23-
# Load devtools
24-
library(devtools)
25-
26-
# Check if ConversationAlign is installed, if not install from GitHub
27-
if (!require("ConversationAlign", quietly = TRUE)) {
28-
devtools::install_github("Reilly-ConceptsCognitionLab/ConversationAlign")
29-
}
30-
3118
# Load SemanticDistance
3219
library(ConversationAlign)
3320
```

vignettes/CA_Step3_Summarize.Rmd

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,6 @@ knitr::opts_chunk$set(
2222
```
2323

2424
```{r, message=FALSE, warning=F, echo=F}
25-
# Check if devtools is installed, if not install it
26-
if (!require("devtools", quietly = TRUE)) {
27-
install.packages("devtools")
28-
}
29-
30-
# Load devtools
31-
library(devtools)
32-
33-
# Check if ConversationAlign is installed, if not install from GitHub
34-
if (!require("ConversationAlign", quietly = TRUE)) {
35-
devtools::install_github("Reilly-ConceptsCognitionLab/ConversationAlign")
36-
}
37-
3825
# Load SemanticDistance
3926
library(ConversationAlign)
4027
```

vignettes/CA_Step4_Analytics.Rmd

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,6 @@ knitr::opts_chunk$set(
2222
```
2323

2424
```{r, message=FALSE, warning=F, echo=F}
25-
# Check if devtools is installed, if not install it
26-
if (!require("devtools", quietly = TRUE)) {
27-
install.packages("devtools")
28-
}
29-
30-
# Load devtools
31-
library(devtools)
32-
33-
# Check if ConversationAlign is installed, if not install from GitHub
34-
if (!require("ConversationAlign", quietly = TRUE)) {
35-
devtools::install_github("Reilly-ConceptsCognitionLab/ConversationAlign")
36-
}
37-
3825
# Load SemanticDistance
3926
library(ConversationAlign)
4027
```

0 commit comments

Comments
 (0)