-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-document with latest roxygen2 features (#310)
- Loading branch information
Showing
9 changed files
with
57 additions
and
188 deletions.
There are no files selected for viewing
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#' @keywords internal | ||
"_PACKAGE" | ||
|
||
## usethis namespace: start | ||
## usethis namespace: end | ||
NULL |
This file contains 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 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 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,23 +1,26 @@ | ||
|
||
# Registered in .onLoad() | ||
|
||
#' @exportS3Method vctrs::vec_ptype2 | ||
vec_ptype2.glue.glue <- function(x, y, ...) { | ||
x | ||
} | ||
#' @exportS3Method vctrs::vec_ptype2 | ||
vec_ptype2.glue.character <- function(x, y, ...) { | ||
x | ||
} | ||
#' @exportS3Method vctrs::vec_ptype2 | ||
vec_ptype2.character.glue <- function(x, y, ...) { | ||
y | ||
} | ||
|
||
# Note order of class is the opposite as for ptype2 | ||
#' @exportS3Method vctrs::vec_cast | ||
vec_cast.glue.glue <- function(x, to, ...) { | ||
x | ||
} | ||
#' @exportS3Method vctrs::vec_cast | ||
vec_cast.glue.character <- function(x, to, ...) { | ||
as_glue(x) | ||
} | ||
#' @exportS3Method vctrs::vec_cast | ||
vec_cast.character.glue <- function(x, to, ...) { | ||
unclass(x) | ||
} |
This file contains 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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.