CRAN Package Check Results for Package hlaR

Last updated on 2023-02-04 03:55:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 19.20 205.87 225.07 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 13.68 149.21 162.89 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 273.64 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 294.40 OK
r-devel-windows-x86_64 1.0.0 34.00 260.00 294.00 OK
r-patched-linux-x86_64 0.1.6 15.32 177.88 193.20 ERROR
r-release-linux-x86_64 1.0.0 14.68 197.15 211.83 OK
r-release-macos-arm64 1.0.0 84.00 OK
r-release-macos-x86_64 1.0.0 118.00 OK
r-release-windows-x86_64 0.1.6 33.00 254.00 287.00 OK
r-oldrel-macos-arm64 1.0.0 93.00 OK
r-oldrel-macos-x86_64 1.0.0 123.00 OK
r-oldrel-windows-ix86+x86_64 1.0.0 37.00 316.00 353.00 OK

Check Details

Version: 0.1.6
Check: examples
Result: ERROR
    Running examples in ‘hlaR-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: CalEpletMHCI
    > ### Title: Calculate class I HLA eplet mismatch
    > ### Aliases: CalEpletMHCI
    >
    > ### ** Examples
    >
    > dat<-read.csv(system.file("extdata/example","MHC_I_test.csv",package="hlaR"),sep=",",header=TRUE)
    > re <- CalEpletMHCI(dat_in = dat, ver = 3)
    Error in `mutate()`:
    ℹ In argument: `index = (function (x, y) ...`.
    Caused by error:
    ! Can't convert `y` <character> to match type of `x` <integer>.
    Backtrace:
     ▆
     1. ├─hlaR::CalEpletMHCI(dat_in = dat, ver = 3)
     2. │ └─tbl_ep_mm %>% mutate_all(na_if, "")
     3. ├─dplyr::mutate_all(., na_if, "")
     4. │ ├─dplyr::mutate(.tbl, !!!funs)
     5. │ └─dplyr:::mutate.data.frame(.tbl, !!!funs)
     6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
     7. │ ├─base::withCallingHandlers(...)
     8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
     9. │ └─mask$eval_all_mutate(quo)
     10. │ └─dplyr (local) eval()
     11. ├─dplyr (local) `<fn>`(index, "")
     12. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x")
     13. └─vctrs (local) `<fn>`()
     14. └─vctrs::vec_default_cast(...)
     15. ├─base::withRestarts(...)
     16. │ └─base (local) withOneRestart(expr, restarts[[1L]])
     17. │ └─base (local) doWithOneRestart(return(expr), restart)
     18. └─vctrs::stop_incompatible_cast(...)
     19. └─vctrs::stop_incompatible_type(...)
     20. └─vctrs:::stop_incompatible(...)
     21. └─vctrs:::stop_vctrs(...)
     22. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.6
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘allele-haplotype.Rmd’ using rmarkdown
    --- finished re-building ‘allele-haplotype.Rmd’
    
    --- re-building ‘eplet-mm.Rmd’ using rmarkdown
    Quitting from lines 48-53 (eplet-mm.Rmd)
    Error: processing vignette ‘eplet-mm.Rmd’ failed with diagnostics:
    ℹ In argument: `index = (function (x, y) ...`.
    Caused by error:
    ! Can't convert `y` <character> to match type of `x` <integer>.
    --- failed re-building ‘eplet-mm.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘eplet-mm.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-linux-x86_64