I used RMD to write a report, and it runs fine locally. When I try to deploy using the following code:
```
---
output: bookdown::html_document2
runtime: shiny
resource_files:
- Data/Raw data/allorders.csv
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(tidyverse)
library(dplyr)
library(here)
library(readr)
library(ggplot2)
library(plotly)
library(GGally)
library(ggthemes)
library(janitor)
library(reshape2)
library(broom)
library(mapproj)
library(geojsonio)
library(scales)
library(bdscale)
# Load data
df_raw =
file.path("Data/Raw data/allorders.csv") %>%
readr::read_csv(na = c("NA", "")) %>%
rename_all(tolower) %>%
rename("customer_type" = "customer type")
```
The log returns the following error:
Warning: Error in eval: object 'df_raw' not found
I've tried a couple of different configurations and I can figure out that it's definitely some problem with the file path, but I can't figure out what??
question from:
https://stackoverflow.com/questions/65944243/why-isnt-my-rmd-deploying-to-shinappsio 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…