Package check result: ERROR Check: CRAN incoming feasibility, Result: NOTE Maintainer: ‘Juan Pablo Acuña González <22253567@uagro.mx>’ New maintainer: Juan Pablo Acuña González <22253567@uagro.mx> Old maintainer(s): Juan Pablo Acuña González Check: tests, Result: ERROR Running ‘testthat.R’ [49s/49s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(viralmodels) > > test_check("viralmodels") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Loading required package: parsnip Loading required package: Matrix Loaded glmnet 4.1-8 i Creating pre-processing data to finalize unknown parameter: mtry ! Fold1, Repeat1: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold1, Repeat1: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold2, Repeat1: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold2, Repeat1: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold3, Repeat1: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold3, Repeat1: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold4, Repeat1: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold4, Repeat1: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold5, Repeat1: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold5, Repeat1: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold1, Repeat2: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold1, Repeat2: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold2, Repeat2: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold2, Repeat2: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold3, Repeat2: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold3, Repeat2: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold4, Repeat2: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold4, Repeat2: internal: A correlation computation is required, but `estimate` is constant and ha... ! Fold5, Repeat2: preprocessor 1/1, model 1/2: ! 40 samples were requested but there were 28 rows in the data. i 28 samples will be used. ! Fold5, Repeat2: internal: A correlation computation is required, but `estimate` is constant and ha... [ FAIL 1 | WARN 23 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-viralmodel.R:32:3', 'test-viralpreds.R:34:3', 'test-viraltab.R:31:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-viralvis.R:31:3'): `viralvis()` plots as expected ────────────── Error in `loadNamespace(x)`: there is no package called 'vdiffr' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-viralvis.R:31:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 1 | WARN 23 | SKIP 3 | PASS 0 ] Deleting unused snapshots: • viralvis/viralvis.svg Error: Test failures Execution halted