Skip to content

Commit c662d5d

Browse files
committed
passing checks
1 parent d9693cd commit c662d5d

File tree

5 files changed

+27
-38
lines changed

5 files changed

+27
-38
lines changed

R/imports.R

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#' imports
2+
#' @importFrom R6 R6Class
3+
#' @import hellno
4+
#' @import stringb
5+
#' @import rtext
6+
dummyimport <- function(){
7+
R6::R6Class()
8+
1 %>% magrittr::add(1)
9+
}
10+
11+
#' @importFrom magrittr %>%
12+
#' @export
13+
magrittr::`%>%`

README.Rmd

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
2-
title: "README"
3-
output:
4-
html_document:
5-
keep_md: yes
2+
output: github_document
63
---
74

85

@@ -58,18 +55,16 @@ citation("diffrprojects")
5855

5956
**BibTex for citing**
6057

61-
<code style="white-space:normal;">
62-
```{r, results='asis', echo=FALSE}
58+
```{r, eval=FALSE}
6359
toBibtex(citation("diffrprojects"))
6460
```
65-
</code>
6661

6762

6863

6964
**Installation**
7065

7166
```{r, eval=FALSE}
72-
install.packages("diffrprojects", repos = "https://petermeissner.github.io/drat")
67+
install.packages("diffrprojects", repos = "https://petermeissner.github.io/drat")
7368
```
7469

7570

README.md

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,10 @@ http://dx.doi.org/10.1111/lsq.12106>.
5050

5151
**BibTex for citing**
5252

53-
<code style="white-space:normal;">
54-
@Manual{Meissner2016,
55-
title = {diffrprojects: Using diffr for more than two texts},
56-
author = {Peter Meißner},
57-
year = {2016},
58-
note = {R package version 0.1.2.90000},
59-
url = {https://github.com/petermeissner/diffrprojects},
60-
}
61-
62-
@Article{Sieberer2016,
63-
title = {Mapping and Explaining Parliamentary Rule Changes in Europe: A Research Program},
64-
author = {Ulrich Sieberer and Peter Meißner and Julia F. Keh and Wolfgang C. Müller},
65-
journal = {Legislative Studies Quarterly},
66-
volume = {41},
67-
number = {1},
68-
issn = {1939-9162},
69-
url = {http://dx.doi.org/10.1111/lsq.12106},
70-
doi = {10.1111/lsq.12106},
71-
pages = {61--88},
72-
year = {2016},
73-
abstract = {We outline a comprehensive research program on institutional reforms in European parliaments. Original data show that parliamentary rules in Western European parliaments have been changed frequently and massively during the period from 1945 to 2010 suggesting that actors use institutional reforms as a distinct strategy to pursue their substantive goals. We discuss how institutional instability affects existing theoretical and empirical arguments about institutional effects. Furthermore, we present four ideal-typical approaches to analyzing rule changes, present new software tools for identifying and coding changes in large text corpora, and demonstrate their usefulness for valid measurement of the overall change between subsequent text versions.},
74-
}
75-
</code>
53+
54+
```r
55+
toBibtex(citation("diffrprojects"))
56+
```
7657

7758

7859

@@ -104,7 +85,7 @@ library(diffrprojects)
10485
```r
10586
dp <- diffrproject$new()
10687

107-
testfiles <- diffrprojects:::test_file(pattern="rc_\\d.txt", full.names = TRUE)
88+
testfiles <- rtext:::testfile(pattern="rc_\\d.txt", full.names = TRUE)
10889

10990
dp$text_add(testfiles)
11091
```
@@ -131,10 +112,10 @@ dp$text_data()
131112
```
132113

133114
```
134-
## text_file character encoding sourcetype
135-
## 1 C:/Users/peter/R/win-library/3.3/diffrprojects/testfiles/rc_1.txt 926166 UTF-8 text_file
136-
## 2 C:/Users/peter/R/win-library/3.3/diffrprojects/testfiles/rc_2.txt 844551 UTF-8 text_file
137-
## 3 C:/Users/peter/R/win-library/3.3/diffrprojects/testfiles/rc_3.txt 643012 UTF-8 text_file
115+
## text_file character encoding sourcetype
116+
## 1 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_1.txt 926166 UTF-8 text_file
117+
## 2 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_2.txt 844551 UTF-8 text_file
118+
## 3 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_3.txt 643012 UTF-8 text_file
138119
```
139120

140121
```r

man/dummyimport.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/reexports.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)