CRAN Package Check Results for Package jjAnno

Last updated on 2022-12-05 09:51:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.3 7.27 70.76 78.03 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.3 5.97 52.07 58.04 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.3 109.91 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.3 102.51 ERROR
r-devel-windows-x86_64 0.0.3 82.00 94.00 176.00 ERROR
r-patched-linux-x86_64 0.0.3 6.89 65.34 72.23 ERROR
r-release-linux-x86_64 0.0.3 7.93 65.83 73.76 ERROR
r-release-macos-arm64 0.0.3 24.00 OK
r-release-macos-x86_64 0.0.3 41.00 OK
r-release-windows-x86_64 0.0.3 32.00 94.00 126.00 ERROR
r-oldrel-macos-arm64 0.0.3 30.00 OK
r-oldrel-macos-x86_64 0.0.3 45.00 OK
r-oldrel-windows-ix86+x86_64 0.0.3 16.00 90.00 106.00 ERROR

Additional issues

donttest

Check Details

Version: 0.0.3
Check: examples
Result: ERROR
    Running examples in 'jjAnno-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: annoRect
    > ### Title: annoRect
    > ### Aliases: annoRect
    >
    > ### ** Examples
    >
    > # ===============================
    > # test function
    >
    > # load data
    > data(p)
    > data(pgo)
    > data(pdotfc)
    >
    > # default plot
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # you can set y axis no expand
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10)) +
    + ggplot2::scale_y_discrete(expand = c(0,0))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # adjust yPosition
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10),
    + yPosition = c(11,11.5))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # another example annotation GO terms
    > annoRect(object = pgo,
    + annoPos = 'right',
    + yPosition = c(1:15),
    + pCol = rep('transparent',15),
    + pFill = rep(c('#F5F0BB','#C4DFAA','#90C8AC'),each = 5),
    + xPosition = c(3,9.5),
    + rectWidth = 1)
    [1] "This palatte have 20 colors!"
    Error in `new_mapped_discrete()`:
    ! `as.vector(x)` must be a vector with type <double>.
    Instead, it has type <integer>.
    Backtrace:
     x
     1. \-jjAnno::annoRect(...)
     2. +-base::print(object)
     3. \-ggplot2:::print.ggplot(object)
     4. +-ggplot2::ggplot_build(x)
     5. \-ggplot2:::ggplot_build.ggplot(x)
     6. \-layout$map_position(data)
     7. \-ggplot2 (local) map_position(..., self = self)
     8. \-base::lapply(...)
     9. \-ggplot2 (local) FUN(X[[i]], ...)
     10. \-ggplot2:::scale_apply(layer_data, y_vars, "map", SCALE_Y, self$panel_scales_y)
     11. \-base::lapply(...)
     12. \-ggplot2 (local) FUN(X[[i]], ...)
     13. \-base::lapply(...)
     14. \-ggplot2 (local) FUN(X[[i]], ...)
     15. \-scales[[i]][[method]](data[[var]][scale_index[[i]]])
     16. \-ggplot2 (local) map(..., self = self)
     17. \-ggplot2:::new_mapped_discrete(x)
     18. \-vctrs::vec_assert(as.vector(x), double())
     19. \-rlang::abort(...)
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.0.3
Check: examples
Result: ERROR
    Running examples in ‘jjAnno-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: annoRect
    > ### Title: annoRect
    > ### Aliases: annoRect
    >
    > ### ** Examples
    >
    > # ===============================
    > # test function
    >
    > # load data
    > data(p)
    > data(pgo)
    > data(pdotfc)
    >
    > # default plot
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # you can set y axis no expand
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10)) +
    + ggplot2::scale_y_discrete(expand = c(0,0))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # adjust yPosition
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10),
    + yPosition = c(11,11.5))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # another example annotation GO terms
    > annoRect(object = pgo,
    + annoPos = 'right',
    + yPosition = c(1:15),
    + pCol = rep('transparent',15),
    + pFill = rep(c('#F5F0BB','#C4DFAA','#90C8AC'),each = 5),
    + xPosition = c(3,9.5),
    + rectWidth = 1)
    [1] "This palatte have 20 colors!"
    Error in `new_mapped_discrete()`:
    ! `as.vector(x)` must be a vector with type <double>.
    Instead, it has type <integer>.
    Backtrace:
     ▆
     1. └─jjAnno::annoRect(...)
     2. ├─base::print(object)
     3. └─ggplot2:::print.ggplot(object)
     4. ├─ggplot2::ggplot_build(x)
     5. └─ggplot2:::ggplot_build.ggplot(x)
     6. └─layout$map_position(data)
     7. └─ggplot2 (local) map_position(..., self = self)
     8. └─base::lapply(...)
     9. └─ggplot2 (local) FUN(X[[i]], ...)
     10. └─ggplot2:::scale_apply(layer_data, y_vars, "map", SCALE_Y, self$panel_scales_y)
     11. └─base::lapply(...)
     12. └─ggplot2 (local) FUN(X[[i]], ...)
     13. └─base::lapply(...)
     14. └─ggplot2 (local) FUN(X[[i]], ...)
     15. └─scales[[i]][[method]](data[[var]][scale_index[[i]]])
     16. └─ggplot2 (local) map(..., self = self)
     17. └─ggplot2:::new_mapped_discrete(x)
     18. └─vctrs::vec_assert(as.vector(x), double())
     19. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.0.3
Check: examples
Result: ERROR
    Running examples in ‘jjAnno-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: annoRect
    > ### Title: annoRect
    > ### Aliases: annoRect
    >
    > ### ** Examples
    >
    > # ===============================
    > # test function
    >
    > # load data
    > data(p)
    > data(pgo)
    > data(pdotfc)
    >
    > # default plot
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # you can set y axis no expand
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10)) +
    + ggplot2::scale_y_discrete(expand = c(0,0))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # adjust yPosition
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10),
    + yPosition = c(11,11.5))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # another example annotation GO terms
    > annoRect(object = pgo,
    + annoPos = 'right',
    + yPosition = c(1:15),
    + pCol = rep('transparent',15),
    + pFill = rep(c('#F5F0BB','#C4DFAA','#90C8AC'),each = 5),
    + xPosition = c(3,9.5),
    + rectWidth = 1)
    [1] "This palatte have 20 colors!"
    Error in `new_mapped_discrete()`:
    ! `as.vector(x)` must be a vector with type <double>.
    Instead, it has type <integer>.
    Backtrace:
     ▆
     1. └─jjAnno::annoRect(...)
     2. ├─base::print(object)
     3. └─ggplot2:::print.ggplot(object)
     4. ├─ggplot2::ggplot_build(x)
     5. └─ggplot2:::ggplot_build.ggplot(x)
     6. └─layout$map_position(data)
     7. └─ggplot2 (local) map_position(..., self = self)
     8. └─base::lapply(...)
     9. └─ggplot2 (local) FUN(X[[i]], ...)
     10. └─ggplot2:::scale_apply(layer_data, y_vars, "map", SCALE_Y, self$panel_scales_y)
     11. └─base::lapply(...)
     12. └─ggplot2 (local) FUN(X[[i]], ...)
     13. └─base::lapply(...)
     14. └─ggplot2 (local) FUN(X[[i]], ...)
     15. └─scales[[i]][[method]](data[[var]][scale_index[[i]]])
     16. └─ggplot2 (local) map(..., self = self)
     17. └─ggplot2:::new_mapped_discrete(x)
     18. └─vctrs::vec_assert(as.vector(x), double())
     19. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.0.3
Check: examples
Result: ERROR
    Running examples in 'jjAnno-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: annoRect
    > ### Title: annoRect
    > ### Aliases: annoRect
    >
    > ### ** Examples
    >
    > # ===============================
    > # test function
    >
    > # load data
    > data(p)
    > data(pgo)
    > data(pdotfc)
    >
    > # default plot
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # you can set y axis no expand
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10)) +
    + ggplot2::scale_y_discrete(expand = c(0,0))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # adjust yPosition
    > annoRect(object = p,
    + annoPos = 'top',
    + xPosition = c(1:10),
    + yPosition = c(11,11.5))
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    [1] "This palatte have 20 colors!"
    >
    > # another example annotation GO terms
    > annoRect(object = pgo,
    + annoPos = 'right',
    + yPosition = c(1:15),
    + pCol = rep('transparent',15),
    + pFill = rep(c('#F5F0BB','#C4DFAA','#90C8AC'),each = 5),
    + xPosition = c(3,9.5),
    + rectWidth = 1)
    [1] "This palatte have 20 colors!"
    Error in `new_mapped_discrete()`:
    ! `as.vector(x)` must be a vector with type <double>.
    Instead, it has type <integer>.
    Backtrace:
     x
     1. \-jjAnno::annoRect(...)
     2. +-base::print(object)
     3. \-ggplot2:::print.ggplot(object)
     4. +-ggplot2::ggplot_build(x)
     5. \-ggplot2:::ggplot_build.ggplot(x)
     6. \-layout$map_position(data)
     7. \-ggplot2 (local) map_position(..., self = self)
     8. \-base::lapply(...)
     9. \-ggplot2 (local) FUN(X[[i]], ...)
     10. \-ggplot2:::scale_apply(layer_data, y_vars, "map", SCALE_Y, self$panel_scales_y)
     11. \-base::lapply(...)
     12. \-ggplot2 (local) FUN(X[[i]], ...)
     13. \-base::lapply(...)
     14. \-ggplot2 (local) FUN(X[[i]], ...)
     15. \-scales[[i]][[method]](data[[var]][scale_index[[i]]])
     16. \-ggplot2 (local) map(..., self = self)
     17. \-ggplot2:::new_mapped_discrete(x)
     18. \-vctrs::vec_assert(as.vector(x), double())
     19. \-rlang::abort(...)
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64