Open the RStudio project bundles/quarto-website-r
.
When opened, you may see a message indicating that the project library and lockfile are out of sync. If so, restore its environment:
r
renv::restore()
Update rsconnect and renv within this project; as the lockfile probably references different versions than what you want to test:
r
install.packages(c("renv","rsconnect"))
Deploy, then re-deploy. If this is the first time deploying from this directory, you will be prompted for a deployment target. The re-deploy should NEVER prompt.
```r
rsconnect::deploySite(render = "local")
rsconnect::deploySite(render = "local")
rsconnect::deploySite(render = "none") ```
The content successfully deploys as static (HTML) that was rendered on the client.
Deploy having the content render on the server. If this is the first time deploying with this title, you will be prompted for a deployment target.
```r
rsconnect::deploySite(siteName = "quarto-website-r-renders", render = "server") ```
The content successfully deploys as Quarto to be rendered by Connect.
Open the RStudio project bundles/quarto-website-r-deps
.
When opened, you may see a message indicating that the project library and lockfile are out of sync. If so, restore its environment:
r
renv::restore()
Update rsconnect and renv within this project; as the lockfile probably references different versions than what you want to test:
r
install.packages(c("renv","rsconnect"))
Deploy this content. Rendering happens on the server. If this is the first time deploying with this title, you will be prompted for a deployment target.
r
rsconnect::deploySite(render = "server")
The content successfully deploys as Quarto to be rendered by Connect.
Open the RStudio project bundles/rmd-site
.
When opened, you may see a message indicating that the project library and lockfile are out of sync. If so, restore its environment:
r
renv::restore()
Update rsconnect and renv within this project; as the lockfile probably references different versions than what you want to test:
r
install.packages(c("renv","rsconnect"))
Deploy, then re-deploy. If this is the first time deploying from this directory, you will be prompted for a deployment target. The re-deploy should NEVER prompt.
```r
rsconnect::deploySite(render = "local")
rsconnect::deploySite(render = "local")
rsconnect::deploySite(render = "none") ```
The content successfully deploys as static (HTML) that was rendered on the client.
Deploy having the content render on the server. If this is the first time deploying with this title, you will be prompted for a deployment target.
```r
rsconnect::deploySite(siteName = "rmd-site-renders", render = "server") ```
The content successfully deploys as R Markdown to be rendered by Connect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.