Skip to content

Commit

Permalink
CRAN package submission (#10)
Browse files Browse the repository at this point in the history
* Added NEWS
* Updated pkgdown site and .Rbuildignore
* Update cran-comments.md
* Updated DESCRIPTION for CRAN re-submission
  • Loading branch information
bryn-g authored Feb 22, 2019
1 parent 165fee8 commit 1e2211c
Show file tree
Hide file tree
Showing 33 changed files with 660 additions and 44 deletions.
19 changes: 14 additions & 5 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
^cran-comments\.md$
^\.Rprofile$
\.Rproj$
^\.Rproj\.user$
^\.RData$
^\.Rhistory$

^\.DS_Store$
^.*\.DS_Store$
^\.gitignore$
^\.git$
^\.httr-oauth$
^\.twitter-oauth$
^README.md$

^cran-comments\.md$
^LICENSE$

^docs$
^pkgdown$
^_pkgdown\.yml$
^_pkgdown\.yaml$

^\.httr-oauth$
^\.twitter-oauth$
^.*\.rds$
^.*\.graphml$
^.*\.csv$
^.*\.pdf$
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Package: vosonSML
Version: 0.26.3
Title: Tools for Collecting Social Media Data and Generating Networks for Analysis
Title: Collecting Social Media Data and Generating Networks for Analysis
Description: A suite of tools for collecting and constructing networks from social media data.
Provides easy-to-use functions for collecting data across popular platforms (Twitter, YouTube
and Reddit) and generating different types of networks for analysis.
Type: Package
Imports: tm, stringr, RCurl, bitops, rjson, igraph (>= 1.2.2), Hmisc, data.table, httpuv,
methods, httr, magrittr, dplyr (>= 0.7.8), rlang (>= 0.3.0.1), RedditExtractoR (>= 2.1.2),
Imports: tm, stringr, RCurl, igraph (>= 1.2.2), Hmisc, data.table, httpuv, methods, httr,
magrittr, dplyr (>= 0.7.8), rlang (>= 0.3.0.1), RedditExtractoR (>= 2.1.2),
rtweet (>= 0.6.8)
Depends: R (>= 3.2.0)
Encoding: UTF-8
Author: Timothy Graham, Robert Ackland, Chung-hong Chan, Bryan Gertzel
Maintainer: Bryan Gertzel <[email protected]>
License: GPL (>= 3) + file LICENSE
License: GPL (>= 3)
RoxygenNote: 6.1.1
NeedsCompilation: no
URL: https://github.com/vosonlab/vosonSML
Expand Down
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ export(ImportData)
export(LoadCredential)
export(SaveCredential)
import(RCurl)
import(bitops)
import(data.table)
import(httpuv)
import(httr)
import(methods)
import(rjson)
import(tm)
importFrom(Hmisc,escapeRegex)
importFrom(RedditExtractoR,reddit_content)
Expand Down
36 changes: 36 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# vosonSML 0.26.3

## Bug Fixes
- Fixed bugs in `Create.actor.reddit` that were incorrectly creating edges between
top-level commentors and thread authors from different threads. These bugs were only
observable in when collecting multiple reddit threads.

## Minor Changes
- Improved output for `reddit` collection. Removed the progress bar and added a table
of results summarising the number of comments collected for each thread.
- Added to `twitter` collection output the users `twitter API` reset time.

# vosonSML 0.26.2

## Bug Fixes
- Fixed a bug in `Create.actor.twitter` and `Create.bimodal.twitter` in which the vertices
dataframe provided to the `graph_from_data_frame` function as a contained duplicate names
raising an error.

## Major Changes
- Revised and updated `roxygen` documentation and examples for all package functions.
- Updated all `Authenticate`, `Collect` and `Create` S3 methods to implement function routing
based on object class names.

## Minor Changes
- Created a `pkgdown` web site for github hosted package documentation.
- Created a new hex sticker logo.

# vosonSML 0.25.0

## Major Changes
- Replaced the `twitteR` twitter collection implementation with the `rtweet` package.
- A users `twitter` authentication token can now be cached in the `.twitter_oauth_token` file and
used for subsequent `twitter API` requests without re-authentication. A new authentication
token can be cached by deleting this file and using the re-using the parameter
`useCachedToken = TRUE`.
2 changes: 0 additions & 2 deletions R/vosonSML-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#' @author Created by Timothy Graham and Robert Ackland, with major contributions by Chung-hong Chan and Bryan Gertzel.
#' @import tm
#' @import RCurl
#' @import bitops
#' @import rjson
#' @import data.table
#' @import httpuv
#' @import methods
Expand Down
10 changes: 8 additions & 2 deletions _pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: vosonSML
url: http://vosonlab.github.io/vosonSML

authors:
Bryan Gertzel:
href: "https://vosonlab.net"
Expand All @@ -10,14 +10,20 @@ navbar:
structure:
left:
- home
- news
- reference
right: github
components:
home:
icon: fa-home fa-lg
href: index.html
news:
icon: fa-newspaper-o
text: "News"
href: news/index.html
reference:
text: Reference
icon: fa-cubes
text: "Reference"
href: reference/index.html
github:
icon: fa-github fa-lg
Expand Down
11 changes: 9 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
## Re-submission
In this version the following recommended fixes were made:

* Omitted "Tools for" from the DESCRIPTION title.
* Omitted the LICENSE file from the DESCRIPTION and package build as there
are no additional license restrictions.

## Test environments
* MacOS X, R 3.5.2
* Windows 10, R 3.5.2
* local MacOS X, R 3.5.1
* local Windows 10, R 3.5.2

## R CMD check results
0 errors | 0 warnings
Expand Down
15 changes: 14 additions & 1 deletion docs/LICENSE-text.html

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

15 changes: 14 additions & 1 deletion docs/authors.html

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

24 changes: 24 additions & 0 deletions docs/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
h1, .h1 {
font-size: 2.8rem;
}

h2, .h2 {
font-size: 2.2rem;
}

h3, .h3 {
font-size: 1.9rem;
}

h4, .h4, h5, .h5 {
font-size: 1.4rem;
}

.contents h1, .contents h2 {
padding-top: 60px;
margin-top: -20px;
}

.contents h2 {
padding-top: 30px;
}
21 changes: 16 additions & 5 deletions docs/index.html

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

Loading

0 comments on commit 1e2211c

Please sign in to comment.