CRAN Package Check Results for Package DrugUtilisation

Last updated on 2025-02-10 03:49:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.2 7.76 690.75 698.51 NOTE
r-devel-linux-x86_64-debian-gcc 0.8.2 5.59 170.47 176.06 ERROR
r-devel-linux-x86_64-fedora-clang 0.8.2 1113.90 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8.2 1032.40 NOTE
r-devel-windows-x86_64 0.8.2 10.00 409.00 419.00 NOTE
r-patched-linux-x86_64 0.8.2 9.44 642.80 652.24 OK
r-release-linux-x86_64 0.8.2 7.78 649.18 656.96 OK
r-release-macos-arm64 0.8.2 168.00 NOTE
r-release-macos-x86_64 0.8.2 227.00 NOTE
r-release-windows-x86_64 0.8.2 10.00 408.00 418.00 NOTE
r-oldrel-macos-arm64 0.8.2 219.00 NOTE
r-oldrel-macos-x86_64 0.8.2 413.00 NOTE
r-oldrel-windows-x86_64 0.8.2 12.00 557.00 569.00 NOTE

Check Details

Version: 0.8.2
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘addDrugUtilisation.R’ ‘addIntersect.R’ ‘benchmarkDrugUtilisation.R’ ‘cohortUtilities.R’ ‘dailyDose.R’ ‘erafyCohort.R’ ‘generateDrugUtilisationCohortSet.R’ ‘generateIngredientCohortSet.R’ ‘mockDrugUtilisation.R’ ‘pattern.R’ ‘plots.R’ ‘require.R’ ‘summariseDrugRestart.R’ ‘summariseDrugUtilisation.R’ ‘summariseIntersect.R’ ‘summariseProportionOfPatientsCovered.R’ ‘tables.R’ ‘validate.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.8.2
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/25s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes Error in `private$handle_error()`: ! testthat subprocess failed to start, stderr: ℹ `EUNOMIA_DATA_FOLDER` set to: '/tmp/RtmpjNCxhw'. trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Error in `FUN()`: ! In path: "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/DrugUtilisation.Rcheck/tests/testthat/setup.R" Caused by error in `utils::download.file()`: ! cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip' Backtrace: ▆ 1. ├─global callr_startup_hook() 2. │ └─asNamespace("testthat")$queue_process_setup(...) 3. │ └─asNamespace("testthat")$test_files_setup_state(...) 4. │ └─testthat::source_test_setup(".", env) 5. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 6. │ └─base::lapply(...) 7. │ └─testthat (local) FUN(X[[i]], ...) 8. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::eval(exprs, env) 11. │ └─base::eval(exprs, env) 12. │ └─CDMConnector::requireEunomia() at tests/testthat/setup.R:1:1 13. │ └─CDMConnector::downloadEunomiaData(...) 14. │ ├─withr::with_options(...) 15. │ │ └─base::force(code) 16. │ └─utils::download.file(...) 17. └─base::.handleSimpleError(...) 18. └─testthat (local) h(simpleError(msg, call)) 19. └─rlang::abort(...) Warning message: In utils::download.file(url = url, destfile = file.path(pathToData, : URL 'https://example-data.ohdsi.dev/GiBleed.zip': status was 'Could not resolve hostname' Ran 4/4 deferred expressions Error in deferred_run(env) : could not find function "deferred_run" Calls: <Anonymous> Caused by error: ! R session crashed with exit code 1 Backtrace: ▆ 1. └─testthat::test_check("DrugUtilisation") 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_parallel(...) 5. ├─withr::with_dir(...) 6. │ └─base::force(code) 7. ├─testthat::with_reporter(...) 8. │ └─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".") 13. └─queue$poll(Inf) 14. └─base::lapply(...) 15. └─testthat (local) FUN(X[[i]], ...) 16. └─private$handle_error(msg, i) 17. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.8.2
Check: installed package size
Result: NOTE installed size is 5.7Mb sub-directories of 1Mb or more: doc 4.9Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64