Skip to content

Commit

Permalink
apply cran reviewer comments (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbratt authored Feb 8, 2021
1 parent 04c99c6 commit 3c0cfb7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: wordpiece
Type: Package
Title: R Implementation of Wordpiece Tokenization
Version: 1.0.1
Version: 1.0.2
Authors@R: c(
person(given = "Jonathan",
family = "Bratt",
Expand All @@ -13,7 +13,7 @@ Authors@R: c(
role = c("aut"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-4781-4346")),
person(given = "Macmillan Learning",
person(given = "Bedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning",
role = c("cph"))
)
Description: Apply 'Wordpiece' (<arXiv:1609.08144>) tokenization to input text,
Expand Down
1 change: 1 addition & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#' Mostly copied from rlang package.
#'
#' @param x,y If `x` is NULL, will return `y`; otherwise returns `x`.
#' @return Returns `x` if `x` is not NULL; otherwise returns `y`.
#' @keywords internal
#' @name op-null-default
`%||%` <- function(x, y) {
Expand Down
8 changes: 8 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v. 1.0.2
* Resubmitting 2021-02-08
* Put the full company identifier in `Authors@R`:
Bedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning. Previously, just
the short name "Macmillan Learning" was listed in `Authors@R`.
* Added `\value` field to documentation for the unexported function `%||%`.


## v. 1.0.1
* Resubmitting 2021-02-02
* Fixed the outdated URLs in the README
Expand Down
3 changes: 3 additions & 0 deletions man/op-null-default.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c0cfb7

Please sign in to comment.