From 829353677a58d4ccce00657c09f2cc1aa30cc369 Mon Sep 17 00:00:00 2001 From: Adam Spannbauer Date: Sun, 17 Mar 2019 16:22:39 -0400 Subject: [PATCH 1/4] fix dead link in vignette --- vignettes/Analyzing_Twitter_with_LexRankr.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vignettes/Analyzing_Twitter_with_LexRankr.html b/vignettes/Analyzing_Twitter_with_LexRankr.html index c8c03ab..eae777d 100644 --- a/vignettes/Analyzing_Twitter_with_LexRankr.html +++ b/vignettes/Analyzing_Twitter_with_LexRankr.html @@ -135,7 +135,7 @@

Get user tweets

} return(timeline_df) } -

We can now use our function to gather a user’s tweets with the additional information of date-time, favorites, retweets. Lets use one of the most famous twitter accounts as of late: [@realDonaldTrump](https://twitter.com/realDonaldTrump).

+

We can now use our function to gather a user’s tweets with the additional information of date-time, favorites, retweets. Lets use one of the most famous twitter accounts as of late: @realDonaldTrump.

tweets_df <- get_timeline_df("realDonaldTrump", 600, sig) %>% 
     mutate(text = str_replace_all(text, "\n", " ")) #clean out newlines for display
 
@@ -240,7 +240,7 @@ 

Repeating tweetRank analysis for other users

0.0085708 -Last day to get anything from our Valentine’s Collection by Valentine’s Day! Shop: https://t.co/MXljGLH3qY https://t.co/qFBCMytKMB +Last day to get anything from our Valentine’s Collection by Valentine’s Day! 0.0077583 @@ -249,7 +249,7 @@

Repeating tweetRank analysis for other users

-



+



From a72e75a6e205d1d7be9c1e05a672dd0d45984255 Mon Sep 17 00:00:00 2001 From: Adam Spannbauer Date: Sun, 17 Mar 2019 16:26:28 -0400 Subject: [PATCH 2/4] update roxygen --- DESCRIPTION | 3 ++- man/lexRankFromSimil.Rd | 5 +++-- man/unnest_sentences_.Rd | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 146a74b..e5a8cbb 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -9,9 +9,10 @@ License: MIT + file LICENSE URL: https://github.com/AdamSpannbauer/lexRankr/ BugReports: https://github.com/AdamSpannbauer/lexRankr/issues/ LazyData: TRUE -RoxygenNote: 6.0.1 +RoxygenNote: 6.1.1 Imports: SnowballC, igraph, Rcpp Depends: R (>= 2.10) LinkingTo: Rcpp Suggests: covr, testthat, R.rsp VignetteBuilder: R.rsp +Encoding: UTF-8 diff --git a/man/lexRankFromSimil.Rd b/man/lexRankFromSimil.Rd index c49a89a..57a2454 100644 --- a/man/lexRankFromSimil.Rd +++ b/man/lexRankFromSimil.Rd @@ -4,8 +4,9 @@ \alias{lexRankFromSimil} \title{Compute LexRanks from pairwise sentence similarities} \usage{ -lexRankFromSimil(s1, s2, simil, threshold = 0.2, n = 3, returnTies = TRUE, - usePageRank = TRUE, damping = 0.85, continuous = FALSE) +lexRankFromSimil(s1, s2, simil, threshold = 0.2, n = 3, + returnTies = TRUE, usePageRank = TRUE, damping = 0.85, + continuous = FALSE) } \arguments{ \item{s1}{A character vector of sentence IDs corresponding to the \code{s2} and \code{simil} arguments} diff --git a/man/unnest_sentences_.Rd b/man/unnest_sentences_.Rd index 31e408c..12e7f44 100644 --- a/man/unnest_sentences_.Rd +++ b/man/unnest_sentences_.Rd @@ -5,11 +5,11 @@ \alias{unnest_sentences} \title{Split a column of text into sentences} \usage{ -unnest_sentences_(tbl, output, input, doc_id = NULL, output_id = "sent_id", - drop = TRUE) +unnest_sentences_(tbl, output, input, doc_id = NULL, + output_id = "sent_id", drop = TRUE) -unnest_sentences(tbl, output, input, doc_id = NULL, output_id = "sent_id", - drop = TRUE) +unnest_sentences(tbl, output, input, doc_id = NULL, + output_id = "sent_id", drop = TRUE) } \arguments{ \item{tbl}{dataframe containing column of text to be split into sentences} From 1d667586da8998671c6843020ad9e7836284f15d Mon Sep 17 00:00:00 2001 From: Adam Spannbauer Date: Sun, 17 Mar 2019 16:29:34 -0400 Subject: [PATCH 3/4] update cran comments --- cran-comments.md | 1 - 1 file changed, 1 deletion(-) diff --git a/cran-comments.md b/cran-comments.md index 530ced0..031dd61 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,7 +1,6 @@ ## Test environments * win-builder (r devel and release) - * 1 NOTE for '(possibly) invalid URLs' in vignette. The NOTE has been reviewed and the related URL is of no issue to the vignette. * travis-ci (build passing for r devel and release) * appveyor (build passing) * local macOS Mojave 10.14; R version 3.4.4 From 9bd76f5f5e425dde8f7e1205b09d345cac969bda Mon Sep 17 00:00:00 2001 From: Adam Spannbauer Date: Sun, 17 Mar 2019 16:32:06 -0400 Subject: [PATCH 4/4] add last commit badge to readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94ce440..213d9c4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # lexRankr: Extractive Text Summariztion in R -[![Build Status](https://travis-ci.org/AdamSpannbauer/lexRankr.svg?branch=master)](https://travis-ci.org/AdamSpannbauer/lexRankr) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/AdamSpannbauer/lexRankr?branch=master&svg=true)](https://ci.appveyor.com/project/AdamSpannbauer/lexRankr) [![Coverage Status](https://img.shields.io/codecov/c/github/AdamSpannbauer/lexRankr/master.svg)](https://codecov.io/github/AdamSpannbauer/lexRankr?branch=master) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/lexRankr)](https://CRAN.R-project.org/package=lexRankr) ![](http://cranlogs.r-pkg.org/badges/grand-total/lexRankr) +[![Build Status](https://travis-ci.org/AdamSpannbauer/lexRankr.svg?branch=master)](https://travis-ci.org/AdamSpannbauer/lexRankr) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/AdamSpannbauer/lexRankr?branch=master&svg=true)](https://ci.appveyor.com/project/AdamSpannbauer/lexRankr) [![Coverage Status](https://img.shields.io/codecov/c/github/AdamSpannbauer/lexRankr/master.svg)](https://codecov.io/github/AdamSpannbauer/lexRankr?branch=master) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/lexRankr)](https://CRAN.R-project.org/package=lexRankr) ![](http://cranlogs.r-pkg.org/badges/grand-total/lexRankr) [![Last Commit](https://img.shields.io/github/last-commit/AdamSpannbauer/lexRankr.svg)](https://github.com/AdamSpannbauer/lexRankr/commits/master) ## Installation