Skip to content

Commit 80310f1

Browse files
committed
Minor update
1 parent 8ee201d commit 80310f1

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

R/policy_mab_ucb1.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@ UCB1Policy <- R6::R6Class(
9898
#' Policy subclass examples: \code{\link{EpsilonGreedyPolicy}}, \code{\link{ContextualLinTSPolicy}}
9999
#'
100100
#' @examples
101+
#' \dontrun{
101102
#'
102103
#' horizon <- 100L
103104
#' simulations <- 100L
104-
#' weights <- c(0.9, 0.1, 0.1)
105+
#' weights <- c(0.9, 0.1, 0.1)
105106
#'
106107
#' policy <- UCB1Policy$new()
107108
#' bandit <- BasicBernoulliBandit$new(weights = weights)
@@ -112,4 +113,6 @@ UCB1Policy <- R6::R6Class(
112113
#' plot(history, type = "cumulative")
113114
#'
114115
#' plot(history, type = "arms")
116+
#'
117+
#' }
115118
NULL

cran-comments.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,21 @@ New submission.
1414

1515
## R CMD check results
1616

17-
Generally:
17+
### Generally no errors, no warnings, no notes
1818

19+
```
1920
0 ERRORs | 0 WARNINGs | 0 NOTES.
21+
```
2022

21-
On Rhub: 1 NOTE:
23+
### Oldrelease: 1 NOTE
2224

23-
* CRAN incoming feasibility check.
25+
```
26+
Author field differs from that derived from Authors@R
27+
Author: 'Robin van Emden [aut, cre] (<https://orcid.org/0000-0001-5820-8638>), Maurits Kaptein [ctb] (<https://orcid.org/0000-0002-6316-7524>)'
28+
Authors@R: 'Robin van Emden [aut, cre] (0000-0001-5820-8638), Maurits Kaptein [ctb] (0000-0002-6316-7524)'
29+
```
30+
31+
Can safely be ignored, as the only way to get rid of this is by removing the ORCID grom the Authors@R field, which is actually a feature that been added in R versions later than oldrelease.
2432

2533
## Downstream dependencies
2634

man/UCB1Policy.Rd

Lines changed: 4 additions & 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)