Skip to content

Commit

Permalink
Update master after cran submission (#31)
Browse files Browse the repository at this point in the history
* fix for cran submission
  • Loading branch information
markusdumke authored Jan 3, 2018
1 parent bf871fd commit c222b39
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 307 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ cache: packages

warnings_are_errors: true

r_github_packages:
- jimhester/lintr

r:
- devel

Expand All @@ -17,9 +14,7 @@ before_install:
- Rscript -e 'devtools::install_deps()'

after_success:
- Rscript -e 'covr::codecov(type = "all")'
- Rscript -e 'source("tests/testthat/helper_lint.R")'
- Rscript -e 'lintr::lint_package(linters = linters)'
- Rscript -e 'covr::codecov(type = "tests")'

notifications:
slack:
Expand Down
8 changes: 5 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ Type: Package
Title: Reinforcement Learning
Version: 0.1.0
Authors@R: person("Markus", "Dumke", email = {"[email protected]"}, role = c("aut", "cre"))
Description: Reinforcement learning environments and algorithms. Algorithms can be used
with function approximation, eligibility traces and experience replay.
Description: Implements reinforcement learning environments and algorithms as described in Sutton & Barto (1998, ISBN:0262193981).
The Q-Learning algorithm can be used with different types of function approximation
(tabular and neural network), eligibility traces (Singh & Sutton (1996) <doi:10.1007/BF00114726>)
and experience replay (Mnih et al. (2013) <arXiv:1312.5602>).
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Depends: R (>= 3.0.0)
RoxygenNote: 6.0.1
BugReports: https://github.com/markusdumke/reinforcelearn/issues
URL: http://markusdumke.github.io/reinforcelearn
SystemRequirements: (Python and gym only required if Gym environments are used)
SystemRequirements: (Python and gym only required if gym environments are used)
Imports:
checkmate (>= 1.8.4),
R6 (>= 2.2.2),
Expand Down
10 changes: 2 additions & 8 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
YEAR: 2017
COPYRIGHT HOLDER: Markus Dumke

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
YEAR: 2018
COPYRIGHT HOLDER: Markus Dumke
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# reinforcelearn 0.1.0

* Initial release.
* Added a `NEWS.md` file to track changes to the package.
8 changes: 7 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Resubmission
This is a resubmission. In this version I have:

* Updated the Description field in DESCRIPTION to include references to relevant papers.
* Removed tests which used code from lintr.

## Test environments
* local x86_64-w64-mingw32/x64 (64-bit), R 3.4.3
* linux_gnu x_86_64, R Under development (unstable) (2017-12-22 r73943) on travis-ci
Expand All @@ -6,7 +12,7 @@

0 errors | 0 warnings | 1 note

* This is a new release.
* New submission

## Reverse dependencies

Expand Down
276 changes: 0 additions & 276 deletions tests/testthat/helper_lint.R

This file was deleted.

13 changes: 0 additions & 13 deletions tests/testthat/test_lint.R

This file was deleted.

0 comments on commit c222b39

Please sign in to comment.