Skip to content

Commit e86cb10

Browse files
committed
Fix for CRAN
1 parent 99e51b0 commit e86cb10

12 files changed

Lines changed: 76 additions & 50 deletions

.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@
99
^_pkgdown\.yml$
1010
^docs$
1111
^pkgdown$
12+
^revdep$
1213
^LICENSE\.md$
1314
^CODE_OF_CONDUCT\.md$
15+
^cran-comments\.md$
16+
^CRAN-RELEASE$

DESCRIPTION

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
Package: lime
22
Type: Package
33
Title: Local Interpretable Model-Agnostic Explanations
4-
Version: 0.4.1.900
5-
Date: 2019-06-11
6-
Authors@R: c(person('Thomas Lin', 'Pedersen', role = c('cre', 'aut'), email = "thomasp85@gmail.com"),
7-
person('Michaël', 'Benesty', role = c('aut'), email = "michael@benesty.fr"))
4+
Version: 0.5.0
5+
Date: 2019-06-13
6+
Authors@R:
7+
c(person(given = "Thomas Lin",
8+
family = "Pedersen",
9+
role = c("cre", "aut"),
10+
email = "thomasp85@gmail.com",
11+
comment = c(ORCID = "0000-0002-5147-4711")),
12+
person(given = 'Michaël',
13+
family = 'Benesty',
14+
role = c('aut'),
15+
email = "michael@benesty.fr"))
816
Maintainer: Thomas Lin Pedersen <thomasp85@gmail.com>
917
Description: When building complex models, it is often difficult to explain why
1018
the model should be trusted. While global measures such as accuracy are
@@ -15,7 +23,7 @@ Description: When building complex models, it is often difficult to explain why
1523
described in more detail in the article by Ribeiro et al. (2016)
1624
<arXiv:1602.04938>.
1725
License: MIT + file LICENSE
18-
URL: https://github.com/thomasp85/lime
26+
URL: https://lime.data-imaginist.com
1927
BugReports: https://github.com/thomasp85/lime/issues
2028
Encoding: UTF-8
2129
LazyData: true

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# lime 0.4.1.9000
1+
# lime 0.5.0
22

33
* `explain()` will now pass `...` on to the relevant `predict()` method (#150)
44
* `explain.data.frame()` gains a `gower_pow` argument to modify the calculated

R/data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@
7171
#' \item{text}{the sentences as a character vector}
7272
#' \item{class.text}{the category of the sentence}
7373
#' }
74-
#' @source \url{https://archive.ics.uci.edu/ml/datasets.html?format=&task=&att=&area=&numAtt=&numIns=&type=text&sort=nameUp&view=table}
74+
#' @source \url{https://archive.ics.uci.edu/ml/datasets/Sentence+Classification}
7575
"test_sentences"
7676

7777
#' Stop words list
7878
#'
7979
#' List of words that can be safely removed from sentences.
8080
#'
8181
#' @format Character vector of stop words
82-
#' @source \url{https://archive.ics.uci.edu/ml/datasets.html?format=&task=&att=&area=&numAtt=&numIns=&type=text&sort=nameUp&view=table}
82+
#' @source \url{https://archive.ics.uci.edu/ml/datasets/}
8383
"stop_words_sentences"

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ devtools::install_github('thomasp85/lime')
116116

117117
## Code of Conduct
118118
Please note that the 'lime' project is released with a
119-
[Contributor Code of Conduct](CODE_OF_CONDUCT.md).
119+
[Contributor Code of Conduct](https://lime.data-imaginist.com/CODE_OF_CONDUCT.html).
120120
By contributing to this project, you agree to abide by its terms.

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<!-- README.md is generated from README.Rmd. Please edit that file -->
33

4-
# lime <img src="man/figures/logo.png" align="right" />
4+
# lime <img src="man/figures/logo.png" width="131px" height="140px" align="right" style="padding-left:10px;background-color:white;" />
55

66
[![Travis-CI Build
77
Status](https://travis-ci.org/thomasp85/lime.svg?branch=master)](https://travis-ci.org/thomasp85/lime)
@@ -77,16 +77,16 @@ explanation
7777
#> # A tibble: 10 x 13
7878
#> model_type case label label_prob model_r2 model_intercept
7979
#> <chr> <chr> <chr> <dbl> <dbl> <dbl>
80-
#> 1 classific… 1 seto… 1 0.693 0.125
81-
#> 2 classific… 1 seto… 1 0.693 0.125
82-
#> 3 classific… 2 seto… 0.998 0.682 0.129
83-
#> 4 classific… 2 seto… 0.998 0.682 0.129
84-
#> 5 classific… 3 seto… 1 0.691 0.126
85-
#> 6 classific… 3 seto… 1 0.691 0.126
86-
#> 7 classific… 4 seto… 1 0.673 0.129
87-
#> 8 classific… 4 seto… 1 0.673 0.129
88-
#> 9 classific… 5 seto… 1 0.666 0.133
89-
#> 10 classific… 5 seto… 1 0.666 0.133
80+
#> 1 classific… 1 seto… 1 0.680 0.120
81+
#> 2 classific… 1 seto… 1 0.680 0.120
82+
#> 3 classific… 2 seto… 1 0.675 0.125
83+
#> 4 classific… 2 seto… 1 0.675 0.125
84+
#> 5 classific… 3 seto… 1 0.682 0.122
85+
#> 6 classific… 3 seto… 1 0.682 0.122
86+
#> 7 classific… 4 seto… 1 0.667 0.128
87+
#> 8 classific… 4 seto… 1 0.667 0.128
88+
#> 9 classific… 5 seto… 1 0.678 0.121
89+
#> 10 classific… 5 seto… 1 0.678 0.121
9090
#> # … with 7 more variables: model_prediction <dbl>, feature <chr>,
9191
#> # feature_value <dbl>, feature_weight <dbl>, feature_desc <chr>,
9292
#> # data <list>, prediction <list>
@@ -137,5 +137,5 @@ devtools::install_github('thomasp85/lime')
137137
## Code of Conduct
138138

139139
Please note that the ‘lime’ project is released with a [Contributor Code
140-
of Conduct](CODE_OF_CONDUCT.md). By contributing to this project, you
141-
agree to abide by its terms.
140+
of Conduct](https://lime.data-imaginist.com/CODE_OF_CONDUCT.html). By
141+
contributing to this project, you agree to abide by its terms.

cran-comments.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Resubmission according to feedback from CRAN
2+
3+
- Fixed broken links to webpages and files
4+
- Remove erroneously included revdep subdirectory
5+
- Ignore h2o unit tests on CRAN as they stall on win 32
6+
7+
## Test environments
8+
* local OS X install, R 3.6.0
9+
* ubuntu 14.04 (on travis-ci), R 3.6.0
10+
* win-builder (devel and release)
11+
12+
## R CMD check results
13+
14+
0 errors | 0 warnings | 0 note
-29 Bytes
Loading

man/lime-package.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/stop_words_sentences.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)