49 Commits
Author SHA1 Message Date
dr. M.S. (Matthijs) Berends 0efc8826c8 Let aggregated analyses follow the guideline for the 'I' category in count_df(), proportion_df(), sir_df(), the plotting functions, antibiogram(), wisca(), and bug_drug_combinations(), deprecate combine_SI in favour of guideline, fix format() on bug_drug_combinations() counting I as resistant, and add a shared section 'Interpretation of SIR' 2026-10-15 09:58:21 +02:00
dr. M.S. (Matthijs) Berends dbd95ffa46 (v3.0.1.9137) Add the guideline argument to count_df(), proportion_df(), sir_df(), ggplot_sir(), geom_sir(), and labels_sir_count(), so that with CLSI the 'I' category is merged with R, and describe in the documentation of get_AMR_locale() that LANG takes precedence over LANGUAGE 2026-10-15 08:25:37 +02:00
dr. M.S. (Matthijs) Berends 8b01bcb23c (v3.0.1.9135) Fix get_mo_source() removing the mo_source file at the default location, returning the wrong mo_source, and throwing an error after the original file was moved, and run the unit tests in CI also in a real interactive session and with a user setup, a Dutch locale, and CLSI as default guideline, with tests that no longer assume an English locale or EUCAST 2026-10-14 23:34:45 +02:00
dr. M.S. (Matthijs) Berends bf12e3abe7 (v3.0.1.9123) Add method argument to sir_combine() for resistance within a group (most_resistant), and restore the AMR 3.0.1 behaviour of count_*() and proportion_*() for multiple antimicrobials (#321) 2026-10-12 21:37:13 +02:00
dr. M.S. (Matthijs) Berends 53d0704271 (v3.0.1.9116) New sir_combine() for combination therapy as one engine for antibiogram(), wisca(), count_*() and proportion_*() (#321), and make all suggested packages runtime-only with a new CI workflow without dplyr
- New sir_combine() to combine SIR results of multiple antimicrobials into one variable; antibiogram(), wisca() and the count/proportion functions now use the same engine (antibiogram() and wisca() output unchanged)
- With multiple antimicrobials, count_*() and proportion_*() now follow the documented combination therapy rules: resistance() is the proportion of failing combinations, count_all() excludes isolates with an unknown combination result, and WT/NWT/NS/NI are handled correctly
- where() is now decided at runtime instead of at installation, fixing antibiogram() and wisca() without tidyselect (e.g. CRAN binaries without dplyr)
- Imports from data.table and cli moved to .onLoad(); data.table functions are only used while it is loaded; the like() example no longer unloads data.table, which crashed R
- Static test that fails on code outside functions depending on suggested packages
- New check-without-dplyr workflow: installs AMR with all suggested packages, removes dplyr (and tidyselect), then runs all unit tests and examples against the installed package
- g.test() now returns the degrees of freedom as 'parameter', so they are printed
- Fix R CMD check NOTEs (hidden .claude folder, lost braces in inherited g.test and ggplot_pca docs)
2026-10-11 20:36:31 +02:00
Matthijs Berends 2c33297cf6 new eucast breakpoints parsing 2026-08-20 13:29:16 +01:00
dr. M.S. (Matthijs) Berends 12cf144b19 (v3.0.1.9021) add guideline to resistance() and susceptibility() 2026-02-12 20:34:06 +01:00
dr. M.S. (Matthijs) Berends 40d7a971c3 (v2.1.1.9236) documentation 2025-04-12 11:46:42 +02:00
dr. M.S. (Matthijs) Berends 36fd99e1f4 (v2.1.1.9235) New website! 2025-04-08 15:54:30 +01:00
dr. M.S. (Matthijs) Berends 8deaf2c8eb (v2.1.1.9224) skip tests on cran 2025-03-20 23:29:21 +01:00
dr. M.S. (Matthijs) Berends 58d7aa8790 (v2.1.1.9199) fix eucast 2025-03-14 13:43:22 +01:00
dr. M.S. (Matthijs) Berends f7938289eb (v2.1.1.9186) replace antibiotics with antimicrobials! 2025-03-07 20:43:26 +01:00
dr. M.S. (Matthijs) Berends 07efc292bc (v2.1.1.9163) cleanup 2025-02-27 14:04:29 +01:00
dr. M.S. (Matthijs) Berends f03933940c (v2.1.1.9131) implement testthat 2025-01-27 21:43:10 +01:00
dr. M.S. (Matthijs) Berends d8c91d5876 (v1.6.0.9031) tinytest unit tests 2021-05-15 21:36:22 +02:00
dr. M.S. (Matthijs) Berends 9ed2f6490f (v1.6.0.9028) new unit test flow 2021-05-13 22:44:11 +02:00
dr. M.S. (Matthijs) Berends aeea00881e (v1.6.0.9023) new unit test flow 2021-05-13 19:31:47 +02:00
dr. M.S. (Matthijs) Berends 2eca8c3f01 (v1.5.0.9014) only_rsi_columns, is.rsi.eligible improvement 2021-02-02 23:57:35 +01:00
dr. M.S. (Matthijs) Berends 8b52f9b1be (v1.4.0.9047) unit tests 2020-12-27 00:30:28 +01:00
dr. M.S. (Matthijs) Berends acbd0cf7ca (v1.4.0.9046) get_episode 2020-12-27 00:07:00 +01:00
dr. M.S. (Matthijs) Berends 203bc20eb0 (v1.4.0.9039) more unit tests 2020-12-13 20:44:32 +01:00
dr. M.S. (Matthijs) Berends 28e77680c5 (v1.4.0) matching score update 2020-10-08 11:16:03 +02:00
dr. M.S. (Matthijs) Berends 050a9a04fb (v1.3.0.9030) matching score update 2020-09-26 16:26:01 +02:00
dr. M.S. (Matthijs) Berends 027215ed94 (v1.3.0.9027) unit tests 2020-09-24 00:50:23 +02:00
dr. M.S. (Matthijs) Berends c5f7294381 (v1.3.0) skip more CRAN tests 2020-07-31 10:50:08 +02:00
dr. M.S. (Matthijs) Berends c8edcb7439 (v1.3.0) small fixes 2020-07-30 15:15:52 +02:00
dr. M.S. (Matthijs) Berends 76fc8e1b14 (v1.2.0.9026) move to github 2020-07-08 14:48:06 +02:00
dr. M.S. (Matthijs) Berends 779a4e8348 (v1.2.0.9012) mo_domain(), improved error handling 2020-06-22 12:18:53 +02:00
dr. M.S. (Matthijs) Berends 7f3da74b17 (v1.1.0.9004) lose dependencies 2020-05-16 13:05:47 +02:00
dr. M.S. (Matthijs) Berends ced1a7b7fa (v0.9.0.9008) Happy new year! Add lifecycles 2020-01-05 17:22:09 +01:00
dr. M.S. (Matthijs) Berends 59ededa8dc (v0.8.0.9027) adding susceptibility() and resistance() 2019-11-10 12:16:56 +01:00
dr. M.S. (Matthijs) Berends 00cdb498a0 (v0.7.1.9102) lintr 2019-10-11 17:21:02 +02:00
dr. M.S. (Matthijs) Berends 93be16484b (v0.7.1.9063) septic_patients -> example_isolates 2019-08-27 16:45:42 +02:00
dr. M.S. (Matthijs) Berends 156d550895 (v0.7.1.9005) new rsi calculations, atc class removal 2019-07-01 14:03:15 +02:00
dr. M.S. (Matthijs) Berends 254745061c (v0.7.0.9008) T. vaginalis, rsi_df 2019-06-13 14:28:46 +02:00
dr. M.S. (Matthijs) Berends 38a4421450 CI tests 2019-05-13 10:10:16 +02:00
dr. M.S. (Matthijs) Berends 68cc7ef0d0 new antibiotics 2019-05-10 16:44:59 +02:00
dr. M.S. (Matthijs) Berends fbc9191b13 new EUCAST rules algorithm 2019-04-05 18:47:39 +02:00
dr. M.S. (Matthijs) Berends ed30312048 mo codes for WHONET 2019-02-08 16:06:54 +01:00
dr. M.S. (Matthijs) Berends 6b2d464f8c big website update, licence txt update 2019-01-02 23:24:07 +01:00
dr. M.S. (Matthijs) Berends b937662a97 limits for scale_y_percent - Licence update 2018-12-16 22:45:12 +01:00
dr. M.S. (Matthijs) Berends 693f64bdbf new EUCAST rules: clinical breakpoints 2018-10-17 17:32:34 +02:00
dr. M.S. (Matthijs) Berends d5a41de711 parameter combine_IR 2018-10-16 09:59:31 +02:00
dr. M.S. (Matthijs) Berends 5b5b95a47b count_all and some fixes 2018-10-12 16:35:18 +02:00
dr. M.S. (Matthijs) Berends 9c566585b0 first inclusion of ITIS data 2018-09-24 23:33:29 +02:00
dr. M.S. (Matthijs) Berends df5d82fff3 unit tests 2018-09-17 21:51:21 +02:00
dr. M.S. (Matthijs) Berends db14781593 add labels_rsi_count 2018-09-16 22:11:17 +02:00
dr. M.S. (Matthijs) Berends 8ab93b6688 unit tests 2018-08-23 01:01:50 +02:00
dr. M.S. (Matthijs) Berends da5379c881 quasiquotation, alpha for geom_rsi 2018-08-23 00:40:36 +02:00