Skip to content

How to dploy to PositConnect #718

@raheems

Description

@raheems

It is not very clear to me how to deploy the app ro PositConnect

Can anyone provide some guidance please?

I tried the following.

> rsconnect::deployApp()
Error in lint(appDir, appFiles, appPrimaryDoc) : 
  Cancelling deployment: invalid project layout.
The project should have one of the following layouts:
1. 'server.R' and 'ui.R' in the application base directory,
2. 'server.R' and 'www/index.html' in the application base directory,
3. 'app.R' or a single-file Shiny .R file,
4. An R Markdown (.Rmd) or Quarto (.qmd) document,
5. A static HTML (.html) or PDF (.pdf) document.
6. 'plumber.R' API description .R file
7. 'entrypoint.R' plumber startup script
8. A tensorflow saved model

Then moved the app.R file to the project directory of safetyGraphics package. Didn't help.

What is the correct way to deploy the app?

Thanks.

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