generated from epiverse-trace/packagetemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Occurrences of linelist are replaced when not indicative of actual linelist references.
- Loading branch information
1 parent
ea62810
commit 3f628b0
Showing
59 changed files
with
411 additions
and
411 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 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#' Remove the datatagr class from an object | ||
#' | ||
#' Internal function. Used for dispatching to other methods when `NextMethod` is | ||
#' an issue (typically to pass additional arguments to the `datatagr` method). | ||
#' | ||
#' @param x a `datatagr` object | ||
#' | ||
#' @param remove_tags a `logical` indicating if tags should be removed from the | ||
#' attributes; defaults to `TRUE` | ||
#' | ||
#' @noRd | ||
#' | ||
#' @return The function returns the same object without the `datatagr` class. | ||
#' | ||
#' | ||
|
||
drop_datatagr <- function(x, remove_tags = TRUE) { | ||
classes <- class(x) | ||
class(x) <- setdiff(classes, "datatagr") | ||
if (remove_tags) { | ||
attr(x, "tags") <- NULL | ||
} | ||
x | ||
} |
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
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
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
Oops, something went wrong.