llrs / blogR

My blogdown site with R related posts
https://llrs.dev
0 stars 0 forks source link

CRAN diagrams #92

Open llrs opened 5 months ago

llrs commented 5 months ago

Incoming new checks, contrast with cransays:

sequenceDiagram
    autonumber
    actor Maintainer/developer
    participant CRAN checks
    actor CRAN volunteers
    participant CRAN 

    activate Maintainer/developer
    Maintainer/developer ->>CRAN checks: Submission of package
    CRAN checks ->> Maintainer/developer: Package didn't pass checks
    deactivate Maintainer/developer
    CRAN checks ->> CRAN volunteers: Passed checks
    activate CRAN volunteers
    Note over CRAN volunteers: Manual review
    CRAN volunteers -->> CRAN: Package included
    deactivate CRAN volunteers

Normal daily checks:

sequenceDiagram

    participant CRAN repo
    participant CRAN checks
    actor CRAN team
    actor Package maintainer

    CRAN repo->> CRAN checks: Daily checks
    CRAN checks ->> CRAN repo: Passed checks: remains
    CRAN checks ->> CRAN team: Package fails checks
    activate CRAN team
    activate Package maintainer
    Note over CRAN team: Check for false positives
    CRAN team -->> Package maintainer: Deadline: 14 days
    deactivate CRAN team
    Package maintainer ->> CRAN checks: New submission
    CRAN checks ->> CRAN repo: Pass automatic checks:<br> updated version included
    CRAN checks ->> CRAN team: Package still fails
    activate CRAN team
    CRAN team --> Package maintainer: Removal of package
    deactivate CRAN team
    deactivate Package maintainer

Other attempts

flowchart LR

A[Package submission] --> B{Automatic checks}
B -->|Pass| C[Included]
B -->|Fail| D[Rejected]