CRAN Package Check Results for Package doseminer

Last updated on 2025-11-05 05:51:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 2.92 41.84 44.76 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 2.21 33.62 35.83 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 67.58 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.2 78.13 ERROR
r-devel-windows-x86_64 0.1.2 5.00 60.00 65.00 OK
r-patched-linux-x86_64 0.1.2 2.78 38.14 40.92 OK
r-release-linux-x86_64 0.1.2 2.68 37.79 40.47 OK
r-release-macos-arm64 0.1.2 2.00 38.00 40.00 OK
r-release-macos-x86_64 0.1.2 3.00 55.00 58.00 OK
r-release-windows-x86_64 0.1.2 4.00 59.00 63.00 OK
r-oldrel-macos-arm64 0.1.2 1.00 30.00 31.00 OK
r-oldrel-macos-x86_64 0.1.2 2.00 42.00 44.00 OK
r-oldrel-windows-x86_64 0.1.2 5.00 69.00 74.00 OK

Check Details

Version: 0.1.2
Check: examples
Result: ERROR Running examples in ‘doseminer-Ex.R’ failed The error most likely occurred in: > ### Name: extract_from_prescription > ### Title: Extract dosage information from free-text English-language > ### prescriptions > ### Aliases: extract_from_prescription > > ### ** Examples > > extract_from_prescription(example_prescriptions) Error in `str_replace_all()`: ! `replacement` function must return a vector the same length as the input (8), not length 1. Backtrace: ▆ 1. ├─doseminer::extract_from_prescription(example_prescriptions) 2. │ └─... %>% ... 3. ├─stringr::str_replace_all(...) 4. │ └─stringr:::check_lengths(string, pattern, replacement) 5. │ └─vctrs::vec_size_common(...) 6. ├─stringr::str_replace_all(...) 7. │ └─stringr:::check_lengths(string, pattern, replacement) 8. │ └─vctrs::vec_size_common(...) 9. ├─stringr::str_replace_all(., "[0-9]+ / week", weekly_to_daily) 10. │ └─stringr:::str_transform_all(string, pattern, replacement) 11. │ └─stringr::str_locate_all(string, pattern) 12. │ └─stringr:::check_lengths(string, pattern) 13. │ └─vctrs::vec_size_common(...) 14. ├─stringr::str_replace_all(...) 15. │ └─stringr:::check_lengths(string, pattern, replacement) 16. │ └─vctrs::vec_size_common(...) 17. ├─stringr::str_replace_all(...) 18. │ └─stringr:::check_lengths(string, pattern, replacement) 19. │ └─vctrs::vec_size_common(...) 20. ├─stringr::str_replace_all(., "(?:every|per) week|weekly", "every 7 days") 21. │ └─stringr:::check_lengths(string, pattern, replacement) 22. │ └─vctrs::vec_size_common(...) 23. ├─stringr::str_replace_all(...) 24. │ └─stringr:::check_lengths(string, pattern, replacement) 25. │ └─vctrs::vec_size_common(...) 26. ├─stringr::str_replace_all(...) 27. │ └─stringr:::check_lengths(string, pattern, replacement) 28. │ └─vctrs::vec_size_common(...) 29. ├─stringr::str_replace_all(...) 30. │ └─stringr:::check_lengths(string, pattern, replacement) 31. │ └─vctrs::vec_size_common(...) 32. ├─stringr::str_replace_all(., "times(?:/| a| per) ?", "/ ") 33. │ └─stringr:::check_lengths(string, pattern, replacement) 34. │ └─vctrs::vec_size_common(...) 35. ├─stringr::str_replace_all(...) 36. │ └─stringi::stri_replace_all_regex(...) 37. └─stringr::str_replace_all(...) 38. └─stringr:::str_transform_all(string, pattern, replacement) 39. └─cli::cli_abort(...) 40. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘case_study.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘case_study.Rmd’ --- re-building ‘introduction.Rmd’ using rmarkdown Quitting from introduction.Rmd:84-86 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'introduction.Rmd' failed with diagnostics: `replacement` function must return a vector the same length as the input (8), not length 1. --- failed re-building ‘introduction.Rmd’ SUMMARY: processing the following file failed: ‘introduction.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc