CRAN Package Check Results for Package viraldomain

Last updated on 2024-07-17 00:48:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.3 16.93 133.16 150.09 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.3 10.43 98.18 108.61 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.3 177.53 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.3 146.49 ERROR
r-devel-windows-x86_64 0.0.3 13.00 106.00 119.00 ERROR
r-patched-linux-x86_64 0.0.3 10.77 124.75 135.52 ERROR
r-release-linux-x86_64 0.0.3 11.00 130.22 141.22 ERROR
r-release-macos-arm64 0.0.3 49.00 OK
r-release-macos-x86_64 0.0.3 77.00 OK
r-release-windows-x86_64 0.0.3 13.00 108.00 121.00 ERROR
r-oldrel-macos-arm64 0.0.3 56.00 OK
r-oldrel-macos-x86_64 0.0.3 106.00 OK
r-oldrel-windows-x86_64 0.0.3 17.00 129.00 146.00 ERROR

Check Details

Version: 0.0.3
Check: examples
Result: ERROR Running examples in ‘viraldomain-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: normalized_domain_plot > ### Title: Create a Normalized Domain Plot > ### Aliases: normalized_domain_plot > > ### ** Examples > > data(viral) > data(sero) > # Adding "jitter_" prefix to original variable > features <- list( + featured_col = "jittered_cd_2022", + features_vl = "vl_2022", + features_cd = "cd_2022" + ) > train_data = viral |> + dplyr::select("cd_2022", "vl_2022") > test_data = sero > treshold_value = 0.99 > impute_hyperparameters = list(indetect = 40, tasa_exp = 1/13, semi = 123) > normalized_domain_plot(features, train_data, test_data, treshold_value, impute_hyperparameters) Error in `recipes::prep()`: ✖ The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. └─viraldomain::normalized_domain_plot(...) 2. ├─applicable::autoplot.apd_pca(...) 3. ├─applicable::apd_pca(...) 4. └─applicable:::apd_pca.recipe(...) 5. ├─hardhat::mold(x, data) 6. └─hardhat:::mold.recipe(x, data) 7. ├─hardhat::run_mold(blueprint, data = data) 8. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 9. └─hardhat:::mold_recipe_default_process(...) 10. ├─recipes::prep(...) 11. └─recipes:::prep.recipe(...) 12. └─recipes:::check_training_set(training, x, fresh) 13. └─recipes::recipes_ptype_validate(...) 14. └─cli::cli_abort(msg, call = call) 15. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/10s] 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(viraldomain) > > test_check("viraldomain") 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 [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-knn_domain_score.R:12:3', 'test-mars_domain_score.R:80:3', 'test-nn_domain_score.R:80:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-normalized_domain_plot.R:18:3'): `normalized_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-normalized_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::normalized_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) ── Error ('test-simple_domain_plot.R:18:3'): `simple_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-simple_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::simple_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/9s] 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(viraldomain) > > test_check("viraldomain") 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 [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-knn_domain_score.R:12:3', 'test-mars_domain_score.R:80:3', 'test-nn_domain_score.R:80:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-normalized_domain_plot.R:18:3'): `normalized_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-normalized_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::normalized_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) ── Error ('test-simple_domain_plot.R:18:3'): `simple_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-simple_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::simple_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.3
Check: examples
Result: ERROR Running examples in ‘viraldomain-Ex.R’ failed The error most likely occurred in: > ### Name: normalized_domain_plot > ### Title: Create a Normalized Domain Plot > ### Aliases: normalized_domain_plot > > ### ** Examples > > data(viral) > data(sero) > # Adding "jitter_" prefix to original variable > features <- list( + featured_col = "jittered_cd_2022", + features_vl = "vl_2022", + features_cd = "cd_2022" + ) > train_data = viral |> + dplyr::select("cd_2022", "vl_2022") > test_data = sero > treshold_value = 0.99 > impute_hyperparameters = list(indetect = 40, tasa_exp = 1/13, semi = 123) > normalized_domain_plot(features, train_data, test_data, treshold_value, impute_hyperparameters) Error in `recipes::prep()`: ✖ The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. └─viraldomain::normalized_domain_plot(...) 2. ├─applicable::autoplot.apd_pca(...) 3. ├─applicable::apd_pca(...) 4. └─applicable:::apd_pca.recipe(...) 5. ├─hardhat::mold(x, data) 6. └─hardhat:::mold.recipe(x, data) 7. ├─hardhat::run_mold(blueprint, data = data) 8. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 9. └─hardhat:::mold_recipe_default_process(...) 10. ├─recipes::prep(...) 11. └─recipes:::prep.recipe(...) 12. └─recipes:::check_training_set(training, x, fresh) 13. └─recipes::recipes_ptype_validate(...) 14. └─cli::cli_abort(msg, call = call) 15. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ 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(viraldomain) > > test_check("viraldomain") 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 [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-knn_domain_score.R:12:3', 'test-mars_domain_score.R:80:3', 'test-nn_domain_score.R:80:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-normalized_domain_plot.R:18:3'): `normalized_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-normalized_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::normalized_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) ── Error ('test-simple_domain_plot.R:18:3'): `simple_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-simple_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::simple_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.0.3
Check: tests
Result: ERROR Running 'testthat.R' [5s] 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(viraldomain) > > test_check("viraldomain") 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 [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-knn_domain_score.R:12:3', 'test-mars_domain_score.R:80:3', 'test-nn_domain_score.R:80:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-normalized_domain_plot.R:18:3'): `normalized_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-normalized_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::normalized_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) ── Error ('test-simple_domain_plot.R:18:3'): `simple_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-simple_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::simple_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/9s] 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(viraldomain) > > test_check("viraldomain") 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 [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-knn_domain_score.R:12:3', 'test-mars_domain_score.R:80:3', 'test-nn_domain_score.R:80:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-normalized_domain_plot.R:18:3'): `normalized_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-normalized_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::normalized_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) ── Error ('test-simple_domain_plot.R:18:3'): `simple_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-simple_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::simple_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.0.3
Check: tests
Result: ERROR Running 'testthat.R' [6s] 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(viraldomain) > > test_check("viraldomain") 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 [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-knn_domain_score.R:12:3', 'test-mars_domain_score.R:80:3', 'test-nn_domain_score.R:80:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-normalized_domain_plot.R:18:3'): `normalized_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-normalized_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::normalized_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) ── Error ('test-simple_domain_plot.R:18:3'): `simple_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-simple_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::simple_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.0.3
Check: tests
Result: ERROR Running 'testthat.R' [7s] 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(viraldomain) > > test_check("viraldomain") 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 [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-knn_domain_score.R:12:3', 'test-mars_domain_score.R:80:3', 'test-nn_domain_score.R:80:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-normalized_domain_plot.R:18:3'): `normalized_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-normalized_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::normalized_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) ── Error ('test-simple_domain_plot.R:18:3'): `simple_domain_plot()` plots as expected ── Error in `recipes::prep(blueprint$recipe, training = training, fresh = blueprint$fresh, strings_as_factors = blueprint_strings_as_factors(blueprint))`: x The following variables have the wrong attributes: `jittered_log10_imputed_vl_2022` and `jittered_cd_2022`. Run `lapply(recipes_ptype(rec), attributes)` to see expected attributes. For `rec` being the name of your recipe. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-simple_domain_plot.R:18:3 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ └─vdiffr:::print_plot(plot, title) 4. └─viraldomain::simple_domain_plot(...) 5. ├─applicable::autoplot.apd_pca(...) 6. ├─applicable::apd_pca(...) 7. └─applicable:::apd_pca.recipe(...) 8. ├─hardhat::mold(x, data) 9. └─hardhat:::mold.recipe(x, data) 10. ├─hardhat::run_mold(blueprint, data = data) 11. └─hardhat:::run_mold.default_recipe_blueprint(blueprint, data = data) 12. └─hardhat:::mold_recipe_default_process(...) 13. ├─recipes::prep(...) 14. └─recipes:::prep.recipe(...) 15. └─recipes:::check_training_set(training, x, fresh) 16. └─recipes::recipes_ptype_validate(...) 17. └─cli::cli_abort(msg, call = call) 18. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 0 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64