Skip to content

test-app action's app-dir parameter doesn't work well with renv #323

Closed

Description

@cpsievert

app-dir should be passed directly to the test_app() call or else the (recommended) renv-in-the-root-folder setup won't work

- name: Test app
shell: Rscript {0}
working-directory: ${{ inputs.app-dir }}
run: |
## --------------------------------------------------------------------
options(crayon.enabled = TRUE)
shinytest2::test_app()

Activity

  1. schloerke commented on Feb 6, 2023

    @schloerke
    Collaborator

    Fair. Thank you!

  2. added a commit that references this issue on Feb 6, 2023
    f575bc6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions