- using R version 4.0.0 (2020-04-24)
- using platform: x86_64-apple-darwin17.0 (64-bit)
- using session charset: UTF-8
- checking for file ‘SanzCircos/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘SanzCircos’ version ‘0.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘SanzCircos’ can be installed ... [6s/9s] OK
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking dependencies in R code ... NOTE
Namespaces in Imports field not imported from:
‘purrr’ ‘tidyr’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s/5s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... ERROR
Running examples in ‘SanzCircos-Ex.R’ failed
The error most likely occurred in:
> ### Name: make_circos_links
> ### Title: make_circos_links
> ### Aliases: make_circos_links
>
> ### ** Examples
>
>
> links_df <- data.frame(chrom = c(rep("chr1", 5), rep("chr2", 5)),
+ band = c(rep("band1", 3), rep("band2", 2), "band1", rep("band2", 4)),
+ link = c(1, 2, 3, 1, 2, 1, 1, 3, 4, 5),
+ start = c(1, 3, 5, 10, 35, 1, 5, 8, 13, 15),
+ end = c(3, 5, 10, 35, 39, 5, 8, 13, 15, 21))
>
> links <- make_circos_links(links_df, "chrom", "band", "link", "start", "end", status = TRUE)
Warning: `as.tibble()` is deprecated as of tibble 2.0.0.
Please use `as_tibble()` instead.
The signature and semantics have changed, see `?as_tibble`.
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
Error: Assigned data `as.character(df[[chromosome_grouping]][i])` must be compatible with existing data.
ℹ Error occurred for column `V2`.
✖ Lossy cast from `value` <character> to `x` <logical>.
* Locations: 1.
Backtrace:
█
1. └─SanzCircos::make_circos_links(...)
2. ├─dplyr::bind_rows(...)
3. │ ├─dplyr:::flatten_bindable(dots_values(...))
4. │ └─rlang::dots_values(...)
5. └─pbapply::pblapply(...)
6. └─base::lapply(X, FUN, ...)
7. └─SanzCircos:::FUN(X[[i]], ...)
8. ├─base::`[<-`(`*tmp*`, 1, 2, value = "chr1")
9. └─tibble:::`[<-.tbl_df`(`*tmp*`, 1, 2, value = "chr1")
10. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
11. └─tibble:::tbl_subassign_row(xj, i, value, value_arg)
12. └─base::tryCatch(...)
13. └─base:::tryCatchList(expr, classes, parentenv, handlers)
14. └
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 1 NOTE