-
Notifications
You must be signed in to change notification settings - Fork 4k
[R-package] miscellaneous changes to comply with CRAN requirements #3338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
11bd7e7
[R-package] update DESCRIPTION per CRAN comments
jameslamb aa1ad24
newlines
jameslamb c41a947
Apply suggestions from code review
jameslamb e80cb54
more fixes
jameslamb 400c35b
update Rbuildignore
jameslamb 346766e
Merge branch 'master' into r/description-fixes
jameslamb 6b82785
Merge branch 'master' into r/description-fixes
jameslamb f61e9f6
Merge branch 'master' into r/description-fixes
jameslamb 541d2d9
more changes
jameslamb 1d102a5
Merge branch 'master' into r/description-fixes
guolinke d16bafc
more changes per CRAN response
jameslamb 4a9a6f8
add email
jameslamb 173c7dd
run examples in CI
jameslamb f36b7de
Merge branch 'master' into r/description-fixes
jameslamb 3a0de88
add newest CRAN response
jameslamb d18cf5c
Merge branch 'r/description-fixes' of github.com:jameslamb/LightGBM i…
jameslamb 8b6a3a7
add Solaris patch
jameslamb e7eb0c4
update patch
jameslamb 86552d2
another attempt at ifaddrs patch
jameslamb e1415f7
fix unnecessary comment
jameslamb f7f3f41
update configure
jameslamb a9c301a
comments
jameslamb a75a0e8
bump version
jameslamb 6c37a57
tabs
jameslamb 3aa79b4
fix address alignment, required by cran (#3415)
guolinke 5c19296
[R-package] add new copyright holder in DESCRIPTION (#3409)
jameslamb 1ea66bf
fixing conflicts
jameslamb cac7cba
[R-package] add new copyright holder in DESCRIPTION (#3409)
jameslamb 4fbf933
trying to fix conflicts
jameslamb d9aa856
more fixes
jameslamb 82bb6c7
this will work
jameslamb 119c6f3
Merge branch 'master' into r/description-fixes
guolinke 3515aa8
merge master
jameslamb d23f094
Merge branch 'r/description-fixes' of github.com:jameslamb/LightGBM i…
jameslamb 240fbfe
update cran-comments
jameslamb 9617f34
merge master
jameslamb a0443de
Merge branch 'master' into r/description-fixes
jameslamb c10e23d
simplify solaris, add more testing docs
jameslamb 3595584
stuff
jameslamb fab1234
remove rchck docs
jameslamb 8528853
Merge branch 'master' into r/description-fixes
jameslamb bc5decf
Apply suggestions from code review
jameslamb 0ab2261
Merge branch 'r/description-fixes' of github.com:jameslamb/LightGBM i…
jameslamb 9d9165a
remove extra use of cat()
jameslamb 465fbc4
change solaris check
jameslamb 988bbf2
update docs
jameslamb 57d9879
remove testing code
jameslamb 46f4c1f
fix warning about cleanup not having execute permissions
jameslamb c6ff472
fix cmake builds
jameslamb 6c423a5
remove blank line
jameslamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -9,7 +9,10 @@ Authors@R: c( | |
| person("Yachen", "Yan", role = c("ctb")), | ||
| person("James", "Lamb", email="[email protected]", role = c("aut")) | ||
| ) | ||
| Description: Tree based algorithms can be improved by introducing boosting frameworks. 'LightGBM' is one such framework, and this package offers an R interface to work with it. | ||
| Description: Tree based algorithms can be improved by introducing boosting frameworks. | ||
| 'LightGBM' is one such framework, based on Ke, Guolin et al. (2017). | ||
| See the paper "LightGBM: a highly efficient gradient boosting decision tree", linked below. | ||
| This package offers an R interface to work with it. | ||
| It is designed to be distributed and efficient with the following advantages: | ||
| 1. Faster training speed and higher efficiency. | ||
| 2. Lower memory usage. | ||
|
|
@@ -20,7 +23,9 @@ Description: Tree based algorithms can be improved by introducing boosting frame | |
| Comparison experiments on public datasets suggest that 'LightGBM' can outperform existing boosting frameworks on both efficiency and accuracy, with significantly lower memory consumption. In addition, parallel experiments suggest that in certain circumstances, 'LightGBM' can achieve a linear speed-up in training time by using multiple machines. | ||
| Encoding: UTF-8 | ||
| License: MIT + file LICENSE | ||
| URL: https://github.com/Microsoft/LightGBM | ||
| URL: | ||
| https://github.com/Microsoft/LightGBM, | ||
| https://papers.nips.cc/paper/6907-lightgbm-a-highly-efficient-gradient-boosting-decision | ||
| BugReports: https://github.com/Microsoft/LightGBM/issues | ||
| NeedsCompilation: yes | ||
| Biarch: true | ||
|
|
||
This file contains hidden or 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,21 +1,2 @@ | ||
| The MIT License (MIT) | ||
|
|
||
| Copyright (c) Microsoft Corporation | ||
|
|
||
| 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: 2016 | ||
| COPYRIGHT HOLDER: Microsoft Corporation | ||
jameslamb marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or 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,5 +1,108 @@ | ||
| # CRAN Submission History | ||
|
|
||
| ## v3.0.0 - Submission 2 - (August 28, 2020) | ||
|
|
||
| ### CRAN response | ||
|
|
||
| Failing pre-checks. | ||
|
|
||
| ### `R CMD check` results | ||
|
|
||
| * Debian: 2 NOTEs | ||
|
|
||
| ```text | ||
| * checking CRAN incoming feasibility ... NOTE | ||
| Maintainer: 'Guolin Ke <[email protected]>' | ||
|
|
||
| New submission | ||
|
|
||
| Possibly mis-spelled words in DESCRIPTION: | ||
| Guolin (13:52) | ||
| Ke (13:48) | ||
| LightGBM (14:20) | ||
| al (13:62) | ||
| et (13:59) | ||
|
|
||
| * checking top-level files ... NOTE | ||
| Non-standard files/directories found at top level: | ||
| 'docs' 'lightgbm-hex-logo.png' 'lightgbm-hex-logo.svg' | ||
| ``` | ||
|
|
||
| * Windows: 2 NOTEs | ||
|
|
||
| ```text | ||
| * checking CRAN incoming feasibility ... NOTE | ||
| Maintainer: 'Guolin Ke <[email protected]>' | ||
|
|
||
| New submission | ||
|
|
||
| Possibly mis-spelled words in DESCRIPTION: | ||
| Guolin (13:52) | ||
| Ke (13:48) | ||
| LightGBM (14:20) | ||
| al (13:62) | ||
| et (13:59) | ||
|
|
||
| * checking top-level files ... NOTE | ||
| Non-standard files/directories found at top level: | ||
| 'docs' 'lightgbm-hex-logo.png' 'lightgbm-hex-logo.svg' | ||
| ``` | ||
|
|
||
| ### Maintainer Notes | ||
|
|
||
| We should tell them the misspellings note is a false positive. | ||
|
|
||
| For the note about included files, that is my fault. I had extra files laying around when I generated the package. I'm surprised to see `docs/` in that list, since it is ignored in `.Rbuildignore`. I even tested that with [the exact code Rbuildignore uses](https://github.com/wch/r-source/blob/9d13622f41cfa0f36db2595bd6a5bf93e2010e21/src/library/tools/R/build.R#L85). For now, I added `rm -r docs/` to `build-cran-package.sh`. We can figure out what is happening with `.Rbuildignore` in the future, but it shouldn't block a release. | ||
|
|
||
| ## v3.0.0 - Submission 1 - (August 24, 2020) | ||
|
|
||
| NOTE: 3.0.0-1 was never released to CRAN. CRAN was on vacation August 14-24, 2020, and in that time version 3.0.0-1 (a release candidate) became 3.0.0. | ||
|
|
||
| ### CRAN respoonse | ||
|
|
||
| > Please only ship the CRAN template for the MIT license. | ||
|
|
||
| > Is there some reference about the method you can add in the Description field in the form Authors (year) doi:.....? | ||
|
|
||
| > Please fix and resubmit. | ||
|
|
||
| ### `R CMD check` results | ||
|
|
||
| * Debian: 1 NOTE | ||
|
|
||
| ```text | ||
| * checking CRAN incoming feasibility ... NOTE | ||
| Maintainer: ‘Guolin Ke <[email protected]>’ | ||
|
|
||
| New submission | ||
|
|
||
| License components with restrictions and base license permitting such: | ||
| MIT + file LICENSE | ||
| ``` | ||
|
|
||
| * Windows: 1 NOTE | ||
|
|
||
| ```text | ||
| * checking CRAN incoming feasibility ... NOTE | ||
| Maintainer: 'Guolin Ke <[email protected]>' | ||
|
|
||
| New submission | ||
|
|
||
| License components with restrictions and base license permitting such: | ||
| MIT + file LICENSE | ||
| ``` | ||
|
|
||
| ### Maintainer Notes | ||
|
|
||
| Tried updating `LICENSE` file to this template: | ||
|
|
||
| ```yaml | ||
| YEAR: 2016 | ||
| COPYRIGHT HOLDER: Microsoft Corporation | ||
| ``` | ||
|
|
||
| Added a citation and link for [the main paper](https://papers.nips.cc/paper/6907-lightgbm-a-highly-efficient-gradient-boosting-decision) in `DESCRIPTION`. | ||
|
|
||
| ## v3.0.0-1 - Submission 3 - (August 12, 2020) | ||
|
|
||
| ### CRAN response | ||
|
|
||
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.