Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RGA)
  Please use predefined Credentials only for the testing requests. To obtain your own Credentials see help(authorize).
  > 
  > test_check("RGA")
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 38 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Access token not available (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-query.R:20:5): Collapse all fields ──────────────────────────────
  Error in `is.null(x) || is.na(x)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─RGA:::build_query(...) at test-query.R:20:4
   2.   └─RGA:::fix_query(dots)
   3.     └─RGA:::compact(x)
   4.       └─base::vapply(x, is.empty, logical(1L))
   5.         └─RGA FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 38 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RGA)
  Please use predefined Credentials only for the testing requests. To obtain your own Credentials see help(authorize).
  > 
  > test_check("RGA")
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 38 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Access token not available (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-query.R:20:5): Collapse all fields ──────────────────────────────
  Error in `is.null(x) || is.na(x)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─RGA:::build_query(...) at test-query.R:20:4
   2.   └─RGA:::fix_query(dots)
   3.     └─RGA:::compact(x)
   4.       └─base::vapply(x, is.empty, logical(1L))
   5.         └─RGA FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 38 ]
  Error: Test failures
  Execution halted

Running examples in ‘RGBM-Ex.R’ failed
The error most likely occurred in:

> ### Name: RGBM
> ### Title: Regularized Gradient Boosting Machine for inferring GRN
> ### Aliases: RGBM
> 
> ### ** Examples
> 
> # load RGBM library
> library("RGBM")
> # this step is optional, it helps speed up calculations, run in parallel on 2 processors
> library(doParallel)
> cl <- makeCluster(2)
> # run network inference on a 100-by-100 dummy expression data.
> A = RGBM()
[1] "Identified colids for active tfs"
[1] "Identified list of active tfs for each gene"
[1] "Performed first step of model building"
[1] "Intermediate GRN and Variable Importance Curve in: /tmp/RtmpKadwE6/working_dir/RtmpS40GNt"
Error in { : task 1 failed - "'length = 5' in coercion to 'logical(1)'"
Calls: RGBM ... regularized_GBM_step -> select_ideal_k -> %dopar% -> <Anonymous>
Execution halted
Running examples in ‘RGBM-Ex.R’ failed
The error most likely occurred in:

> ### Name: RGBM
> ### Title: Regularized Gradient Boosting Machine for inferring GRN
> ### Aliases: RGBM
> 
> ### ** Examples
> 
> # load RGBM library
> library("RGBM")
> # this step is optional, it helps speed up calculations, run in parallel on 2 processors
> library(doParallel)
> cl <- makeCluster(2)
> # run network inference on a 100-by-100 dummy expression data.
> A = RGBM()
[1] "Identified colids for active tfs"
[1] "Identified list of active tfs for each gene"
[1] "Performed first step of model building"
[1] "Intermediate GRN and Variable Importance Curve in: /tmp/RtmpgTkViN/working_dir/RtmpG4ov0Z"
Error in { : task 1 failed - "'length = 5' in coercion to 'logical(1)'"
Calls: RGBM ... regularized_GBM_step -> select_ideal_k -> %dopar% -> <Anonymous>
Execution halted