GithubHelp home page GithubHelp logo

eucast_rules() throws an error about amr HOT 8 CLOSED

nrkoehler avatar nrkoehler commented on June 7, 2024
eucast_rules() throws an error

from amr.

Comments (8)

msberends avatar msberends commented on June 7, 2024

Thanks for using the package! I think this was fixed in our previous version, v1.3.0.

Could you try again by running install.packages("AMR"), restart R and try again?

from amr.

msberends avatar msberends commented on June 7, 2024

📋 Please take part in our survey!

Now you're at it, please fill in our short questionnaire! You can fill it in completely anonymously. If you know others using this AMR package, please ask them to fill it in too.

Your valuable input will help to improve the package and its functionalities 🙂

from amr.

msberends avatar msberends commented on June 7, 2024

Fix released to official R repository

Just a small notice: we released a new software version, containing the fix to this issue. Please update your version using either the user interface of your software, or by running:

install.packages("AMR")

from amr.

nrkoehler avatar nrkoehler commented on June 7, 2024

I'm still getting the same error message when using AMR version 1.3

  a <- data.frame(mo = c("Staphylococcus aureus",
                         "Enterococcus faecalis",
                         "Escherichia coli",
                         "Klebsiella pneumoniae",
                         "Pseudomonas aeruginosa"),
                  VAN = "-",       # Vancomycin
                  AMX = "-",       # Amoxicillin
                  COL = "-",       # Colistin
                  CAZ = "-",       # Ceftazidime
                  CXM = "-",       # Cefuroxime
                  PEN = "S",       # Benzylpenicillin
                  FOX = "S",       # Cefoxitin
                  stringsAsFactors = FALSE)
  
  b <- eucast_rules(a)

NOTE: Using column mo as input for col_mo.
NOTE: Auto-guessing columns suitable for analysis...OK.
NOTE: Reliability would be improved if these antimicrobial results would be available too: amoxicillin/clavulanic acid (AMC), amikacin (AMK), ampicillin (AMP), azithromycin (AZM), azlocillin (AZL), aztreonam (ATM), cefaloridine (RID), cefepime (FEP), cefotaxime (CTX), cephradine (CED), ceftriaxone (CRO), chloramphenicol (CHL), ciprofloxacin (CIP), clarithromycin (CLR), clindamycin (CLI), flucloxacillin (FLC), cefazolin (CZO), daptomycin (DAP), doxycycline (DOX), ertapenem (ETP), erythromycin (ERY), fosfomycin (FOS), fusidic acid (FUS), gentamicin (GEN), imipenem (IPM), kanamycin (KAN), levofloxacin (LVX), lincomycin (LIN), linezolid (LNZ), meropenem (MEM), mezlocillin (MEZ), minocycline (MNO), moxifloxacin (MFX), nalidixic acid (NAL), neomycin (NEO), netilmicin (NET), nitrofurantoin (NIT), norfloxacin (NOR), novobiocin (NOV), ofloxacin (OFX), oxacillin (OXA), piperacillin (PIP), piperacillin/tazobactam (TZP), polymyxin B (PLB), pristinamycin (PRI), quinupristin/dalfopristin (QDA), rifampicin (RIF), roxithromycin (RXT), sisomicin (SIS), teicoplanin (TEC), tetracycline (TCY), ticarcillin (TIC), tigecycline (TGC), tobramycin (TOB), trimethoprim (TMP), trimethoprim/sulfamethoxazole (SXT)
Fehler in value[3L] :
ungültiger regulärer Ausdruck '^(abbotic|abboticin|abdizide|abelcet|abelecet|abomacetin|acetohmt|acetylspiramycin|acideclavulanique|acidefusidique|acidoclavulanico|acidofusidico|acidomandelico|acidumclavulanicum|acidumfusidicum|acillin|acneryne|acnesol|acromona|acronize|actilin|actiline|actimoxi|aczone|adesulfonesodium|adobacillin|advocin|aeroquin|aethambutolum|aethionamidum|aetina|aetiva|aizumycin|aknecordeslosung|aknedermerygel|aknemycin|alcephin|alcobon|alconcilox|aldapsone|aldesulfonasodica|aldesulfone|aldesulfonesodique|aldesulfonesodium|alenfral|alexin|alfacet|alficetyn|alflucoz|alfumet|aliporina|almitil|almondacid|alsporin|altacef|ambisome|amblosin|ambofen|ambrocef|ambylan|amcill|amdinocillin|amfipen|amfipenv|amfotericinab|amicacin|amidazin|amidazine|amikacillin|amikacin|amikacinbase|amikacindihydrate|amikacinsulfate|amikacina|amikacine|amikacinum|amikavet|amikin|amiklin|amikozit|aminodeoxykanamycin|aminoform|aminoformaldehyde|aminopar|aminosalicylic|aminosalicylicaci

My session info:

sessionInfo()

R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C LC_TIME=German_Germany.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] AMR_1.3.0

loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 lubridate_1.7.9 crayon_1.3.4 dplyr_1.0.2 R6_2.4.1
[6] lifecycle_0.2.0 magrittr_1.5 pillar_1.4.6 rlang_0.4.7 rstudioapi_0.11
[11] effectr_0.20.10.06 vctrs_0.3.4 generics_0.0.2 ellipsis_0.3.1 tools_4.0.2
[16] glue_1.4.2 purrr_0.3.4 yaml_2.2.1 compiler_4.0.2 pkgconfig_2.0.3
[21] tidyselect_1.1.0 tibble_3.0.3

from amr.

msberends avatar msberends commented on June 7, 2024

True, but 1.4.0 was released today 😃

Might not come up in your updated packages list until tomorrow, so please let me know if you still get this after you’ve installed the newest release.

from amr.

nrkoehler avatar nrkoehler commented on June 7, 2024

Oh, sorry. I didn't notice. :-) I will check it out now.

from amr.

nrkoehler avatar nrkoehler commented on June 7, 2024

It works just fine. Thanks a lot!

from amr.

msberends avatar msberends commented on June 7, 2024

Great! Enjoy!

from amr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.