Running examples in 'uFTIR-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_profile
> ### Title: Get profile
> ### Aliases: get_profile get_profile,togetprofile,Tile-method
> ###   get_profile,togetprofile,list-method
> ###   get_profile,clipper,character-method get_profile_tile
> ###   get_profile_sinfo get_profile_all
> 
> ### ** Examples
> 
> x <- mosaic_info(base::system.file("extdata/mosaic.dmt", package = "uFTIR"))
> mosaic_sam(x, primpke, n_cores = 1)
[1] TRUE
> y <- mosaic_compose(x@path, primpke@clusterlist)
Error in 1:(nrow(xy)/2) : argument of length 0
Calls: mosaic_compose
Execution halted
Running 'testthat.R' [19s/37s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > if(requireNamespace('testthat', quietly = TRUE)){
  +   
  +   library(testthat)
  +   library(uFTIR)
  +   
  +   test_check("uFTIR")
  +   
  + }
  Loading required package: parallel
  == Failed tests ================================================================
  -- Error (test-mosaic_functions.R:5:3): Example is load as expected ------------
  Error: argument of length 0
  Backtrace:
      x
   1. \-uFTIR::mosaic_compose(x@path, primpke@clusterlist) test-mosaic_functions.R:5:2
  -- Error (test-mosaic_functions.R:21:3): Functions return S4 and S3 classes ----
  Error: argument of length 0
  Backtrace:
      x
   1. +-testthat::expect_s4_class(...) test-mosaic_functions.R:21:2
   2. | \-testthat::quasi_label(enquo(object), arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  -- Error (test-mosaic_functions.R:32:3): The program can preprocess within mosaic_sam calls --
  Error: argument of length 0
  Backtrace:
      x
   1. +-testthat::expect_s4_class(...) test-mosaic_functions.R:32:2
   2. | \-testthat::quasi_label(enquo(object), arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  -- Error (test-mosaic_functions.R:38:3): Can load only a few slices ------------
  Error: argument of length 0
  Backtrace:
      x
   1. \-uFTIR::mosaic_compose(...) test-mosaic_functions.R:38:2
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 30 ]
  Error: Test failures
  Execution halted
Running examples in ‘uFTIR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_profile
> ### Title: Get profile
> ### Aliases: get_profile get_profile,togetprofile,Tile-method
> ###   get_profile,togetprofile,list-method
> ###   get_profile,clipper,character-method get_profile_tile
> ###   get_profile_sinfo get_profile_all
> 
> ### ** Examples
> 
> x <- mosaic_info(base::system.file("extdata/mosaic.dmt", package = "uFTIR"))
> mosaic_sam(x, primpke, n_cores = 1)
[1] TRUE
> y <- mosaic_compose(x@path, primpke@clusterlist)
Error in 1:(nrow(xy)/2) : argument of length 0
Calls: mosaic_compose
Execution halted
Running ‘testthat.R’ [23s/50s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if(requireNamespace('testthat', quietly = TRUE)){
  +   
  +   library(testthat)
  +   library(uFTIR)
  +   
  +   test_check("uFTIR")
  +   
  + }
  Loading required package: parallel
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-mosaic_functions.R:5:3): Example is load as expected ────────────
  Error: argument of length 0
  Backtrace:
      █
   1. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist) test-mosaic_functions.R:5:2
  ── Error (test-mosaic_functions.R:21:3): Functions return S4 and S3 classes ────
  Error: argument of length 0
  Backtrace:
      █
   1. ├─testthat::expect_s4_class(...) test-mosaic_functions.R:21:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  ── Error (test-mosaic_functions.R:32:3): The program can preprocess within mosaic_sam calls ──
  Error: argument of length 0
  Backtrace:
      █
   1. ├─testthat::expect_s4_class(...) test-mosaic_functions.R:32:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  ── Error (test-mosaic_functions.R:38:3): Can load only a few slices ────────────
  Error: argument of length 0
  Backtrace:
      █
   1. └─uFTIR::mosaic_compose(...) test-mosaic_functions.R:38:2
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 30 ]
  Error: Test failures
  Execution halted
installed size is  6.2Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   1.5Mb
    libs      2.4Mb
Running examples in ‘uFTIR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_profile
> ### Title: Get profile
> ### Aliases: get_profile get_profile,togetprofile,Tile-method
> ###   get_profile,togetprofile,list-method
> ###   get_profile,clipper,character-method get_profile_tile
> ###   get_profile_sinfo get_profile_all
> 
> ### ** Examples
> 
> x <- mosaic_info(base::system.file("extdata/mosaic.dmt", package = "uFTIR"))
> mosaic_sam(x, primpke, n_cores = 1)
[1] TRUE
> y <- mosaic_compose(x@path, primpke@clusterlist)
Error in 1:(nrow(xy)/2) : argument of length 0
Calls: mosaic_compose
Execution halted
Running ‘testthat.R’ [32s/51s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if(requireNamespace('testthat', quietly = TRUE)){
  +   
  +   library(testthat)
  +   library(uFTIR)
  +   
  +   test_check("uFTIR")
  +   
  + }
  Loading required package: parallel
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-mosaic_functions.R:5:3): Example is load as expected ────────────
  Error: argument of length 0
  Backtrace:
      █
   1. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist) test-mosaic_functions.R:5:2
  ── Error (test-mosaic_functions.R:21:3): Functions return S4 and S3 classes ────
  Error: argument of length 0
  Backtrace:
      █
   1. ├─testthat::expect_s4_class(...) test-mosaic_functions.R:21:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  ── Error (test-mosaic_functions.R:32:3): The program can preprocess within mosaic_sam calls ──
  Error: argument of length 0
  Backtrace:
      █
   1. ├─testthat::expect_s4_class(...) test-mosaic_functions.R:32:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  ── Error (test-mosaic_functions.R:38:3): Can load only a few slices ────────────
  Error: argument of length 0
  Backtrace:
      █
   1. └─uFTIR::mosaic_compose(...) test-mosaic_functions.R:38:2
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 30 ]
  Error: Test failures
  Execution halted
installed size is  5.4Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   2.6Mb
Running examples in ‘uFTIR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_profile
> ### Title: Get profile
> ### Aliases: get_profile get_profile,togetprofile,Tile-method
> ###   get_profile,togetprofile,list-method
> ###   get_profile,clipper,character-method get_profile_tile
> ###   get_profile_sinfo get_profile_all
> 
> ### ** Examples
> 
> x <- mosaic_info(base::system.file("extdata/mosaic.dmt", package = "uFTIR"))
> mosaic_sam(x, primpke, n_cores = 1)
[1] TRUE
> y <- mosaic_compose(x@path, primpke@clusterlist)
Error in 1:(nrow(xy)/2) : argument of length 0
Calls: mosaic_compose
Execution halted
Running ‘testthat.R’ [32s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if(requireNamespace('testthat', quietly = TRUE)){
  +   
  +   library(testthat)
  +   library(uFTIR)
  +   
  +   test_check("uFTIR")
  +   
  + }
  Loading required package: parallel
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-mosaic_functions.R:5:3): Example is load as expected ────────────
  Error: argument of length 0
  Backtrace:
      █
   1. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist) test-mosaic_functions.R:5:2
  ── Error (test-mosaic_functions.R:21:3): Functions return S4 and S3 classes ────
  Error: argument of length 0
  Backtrace:
      █
   1. ├─testthat::expect_s4_class(...) test-mosaic_functions.R:21:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  ── Error (test-mosaic_functions.R:32:3): The program can preprocess within mosaic_sam calls ──
  Error: argument of length 0
  Backtrace:
      █
   1. ├─testthat::expect_s4_class(...) test-mosaic_functions.R:32:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─uFTIR::mosaic_compose(x@path, primpke@clusterlist)
  ── Error (test-mosaic_functions.R:38:3): Can load only a few slices ────────────
  Error: argument of length 0
  Backtrace:
      █
   1. └─uFTIR::mosaic_compose(...) test-mosaic_functions.R:38:2
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 30 ]
  Error: Test failures
  Execution halted
installed size is  7.4Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   1.5Mb
    libs      3.7Mb
installed size is  7.0Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   1.5Mb
    libs      3.2Mb
installed size is  6.1Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   1.5Mb
    libs      2.3Mb
installed size is 254.0Mb
  sub-directories of 1Mb or more:
    data       2.0Mb
    extdata    2.3Mb
    libs     249.4Mb
installed size is  6.1Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   1.5Mb
    libs      2.3Mb