mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 04:20:53 +01:00
(v1.0.1.9005) as.mo() improvements
This commit is contained in:
1 parent
219cff403f
commit
d1cb7d3b6f
97 files changed
+2849
-2098
No files matched your search
@@ -159,6 +159,7 @@ vec_ptype_full.disk <- function(x, ...) {
|
||||
#' @export
|
||||
#' @noRd
|
||||
"[<-.disk" <- function(i, j, ..., value) {
|
||||
value <- as.disk(value)
|
||||
y <- NextMethod()
|
||||
attributes(y) <- attributes(i)
|
||||
y
|
||||
@@ -167,6 +168,7 @@ vec_ptype_full.disk <- function(x, ...) {
|
||||
#' @export
|
||||
#' @noRd
|
||||
"[[<-.disk" <- function(i, j, ..., value) {
|
||||
value <- as.disk(value)
|
||||
y <- NextMethod()
|
||||
attributes(y) <- attributes(i)
|
||||
y
|
||||
@@ -176,6 +178,7 @@ vec_ptype_full.disk <- function(x, ...) {
|
||||
#' @noRd
|
||||
c.disk <- function(x, ...) {
|
||||
y <- NextMethod()
|
||||
y <- as.disk(y)
|
||||
attributes(y) <- attributes(x)
|
||||
y
|
||||
}
|
||||
Reference in new issue
Block a user