forked from marcgiry/imgur-R-Package
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
95 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.travis.yml | ||
travis-tool.sh | ||
CONTRIBUTING.md | ||
drat.sh | ||
^\.github.? | ||
^revdep.? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Contributions to **imguR** are welcome from anyone and are best sent as pull requests on [the GitHub repository](https://github.com/cloudyr/imguR/). This page provides some instructions to potential contributors about how to add to the package. | ||
|
||
1. Contributions can be submitted as [a pull request](https://help.github.com/articles/creating-a-pull-request/) on GitHub by forking or cloning the [repo](https://github.com/cloudyr/imguR/), making changes and submitting the pull request. | ||
|
||
2. The cloudyr project follows [a consistent style guide](http://cloudyr.github.io/styleguide/index.html) across all of its packages. Please refer to this when editing package code. | ||
|
||
3. Pull requests should involve only one commit per substantive change. This means if you change multiple files (e.g., code and documentation), these changes should be committed together. If you don't know how to do this (e.g., you are making changes in the GitHub web interface) just submit anyway and the maintainer will clean things up. | ||
|
||
4. All contributions must be submitted consistent with the package license ([GPL-2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)). | ||
|
||
5. Non-trivial contributions need to be noted in the `Authors@R` field in the [DESCRIPTION](https://github.com/cloudyr/imguR/blob/master/DESCRIPTION). Just follow the format of the existing entries to add your name (and, optionally, email address). Substantial contributions should also be noted in [`inst/CITATION`](https://github.com/cloudyr/imguR/blob/master/inst/CITATION). | ||
|
||
6. The cloudyr project use royxgen code and documentation markup, so changes should be made to roxygen comments in the source code `.R` files. If changes are made, roxygen needs to be run. The easiest way to do this is a command line call to: `Rscript -e devtools::document()`. Please resolve any roxygen errors before submitting a pull request. | ||
|
||
7. Please run `R CMD BUILD imguR` and `R CMD CHECK imguR_VERSION.tar.gz` before submitting the pull request to check for any errors. | ||
|
||
Some specific types of changes that you might make are: | ||
|
||
1. Bug fixes. Great! | ||
|
||
2. Documentation-only changes (e.g., to Rd files, README, vignettes). This is great! All contributions are welcome. | ||
|
||
3. New functionality. This is fine, but should be discussed on [the GitHub issues page](https://github.com/cloudyr/imguR/issues) before submitting a pull request. | ||
|
||
3. Changes requiring a new package dependency should also be discussed on [the GitHub issues page](https://github.com/cloudyr/imguR/issues) before submitting a pull request. | ||
|
||
4. Message translations. These are very appreciated! The format is a pain, but if you're doing this I'm assuming you're already familiar with it. | ||
|
||
Any questions you have can be opened as GitHub issues or directed to thosjleeper (at) gmail.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Please specify whether your issue is about: | ||
|
||
- [ ] a possible bug | ||
- [ ] a question about package functionality | ||
- [ ] a suggested code or documentation change, improvement to the code, or feature request | ||
|
||
If you are reporting (1) a bug or (2) a question about code, please supply: | ||
|
||
- [a fully reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) using a publicly available dataset (or provide your data) | ||
- if an error is occurring, include the output of `traceback()` run immediately after the error occurs | ||
- the output of `sessionInfo()` | ||
|
||
Put your code here: | ||
|
||
```R | ||
## load package | ||
library("imguR") | ||
|
||
## code goes here | ||
|
||
|
||
## session info for your system | ||
sessionInfo() | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Please ensure the following before submitting a PR: | ||
|
||
- [ ] if suggesting code changes or improvements, [open an issue](https://github.com/cloudyr/imguR/issues/new) first | ||
- [ ] for all but trivial changes (e.g., typo fixes), add your name to [DESCRIPTION](https://github.com/cloudyr/imguR/blob/master/DESCRIPTION) | ||
- [ ] for all but trivial changes (e.g., typo fixes), document your change in [NEWS.md](https://github.com/cloudyr/imguR/blob/master/NEWS.md) with a parenthetical reference to the issue number being addressed | ||
- [ ] if changing documentation, edit files in `/R` not `/man` and run `devtools::document()` to update documentation | ||
- [ ] add code or new test files to [`/tests`](https://github.com/cloudyr/imguR/tree/master/tests/testthat) for any new functionality or bug fix | ||
- [ ] make sure `R CMD check` runs without error before submitting the PR | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: imguR | ||
Type: Package | ||
Title: An Imgur.com API Client Package | ||
Title: 'Imgur.com' API Client Package | ||
Version: 1.0.4 | ||
Date: 2016-05-28 | ||
Date: 2018-04-22 | ||
Authors@R: c(person("Thomas J.", "Leeper", | ||
role = c("aut", "cre"), | ||
email = "[email protected]", | ||
|
@@ -11,10 +11,9 @@ Authors@R: c(person("Thomas J.", "Leeper", | |
email = "[email protected]"), | ||
person("Yihui", "Xie", role = c("ctb")) | ||
) | ||
Maintainer: Thomas J. Leeper <[email protected]> | ||
Imports: tools, graphics, grDevices, httr, png, jpeg | ||
Suggests: testthat | ||
Description: A complete API client for the image hosting service Imgur.com, including the an imgur graphics device, enabling the easy upload and sharing of plots. | ||
Description: A complete API client for the image hosting service 'Imgur.com', including the an 'imgur' graphics device, enabling the easy upload and sharing of plots. | ||
License: GPL-3 | ||
URL: https://github.com/cloudyr/imguR | ||
BugReports: https://github.com/cloudyr/imguR/issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
# CHANGES TO imguR 1.0.3 # | ||
# imguR 1.0.3 | ||
|
||
* Added a test suite and travis-CI testing. (#7) | ||
* Migrated imguR to the cloudyr project. | ||
|
||
# CHANGES TO imguR 1.0.2 # | ||
# imguR 1.0.2 | ||
|
||
* Fixed an error related to passing headers through httr functions. (#6) | ||
|
||
# CHANGES TO imguR 1.0.1 # | ||
# imguR 1.0.1 | ||
|
||
* Fix R CMD check NAMESPACE notes. | ||
|
||
# CHANGES TO imguR 1.0.0 # | ||
|
||
## SIGNIFICANT USER-VISIBLE CHANGES ## | ||
# imguR 1.0.0 | ||
|
||
* Thomas Leeper takes over as maintainer. | ||
* Package now works with the Imgur v3 API (including OAuth 2.0 support as well as anonymously). | ||
|
||
# CHANGES TO imgur 0.1 # | ||
# imgur 0.1 | ||
|
||
* Initial package released by Aaron Statham |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters