Hello,
This issue is in reference to a post by @Rodrigue from 2019-10-11 (Parametized Rmarkdown with fileinput on Rstudio Connect New). Suggest @cole.
I'm having the same issue as @Rodrigue. When I deploy this minimal reprex together with cars.csv it renders correctly at first.
---
title: "RStudio Connect fileInput widget is still broken"
output: html_document
params:
filename:
label: "Upload a file"
value: cars.csv
input: file
---
readr::read_csv(params$file)
But when I select any file through the fileInput widget and knit the report, I get the following error:
07/20 19:53:02.975
Error: '/opt/rstudio-connect/mnt/tmp/RtmphCPGPu/file1c132df61ed9/0.csv' does not exist.
I checked the permissions of /opt/rstudio-connect/mnt/tmp/, and they are correct. I'm running RStudio Connect version 1.7.8-7 (build 1144ac9) with R 4.0.2 on RHEL 7.7.
I would rather not have to re-write my parameterized reports as Shiny apps to fix this. I work with medical technologists who are comfortable with uploading an Excel file in a web form but not with uploading it somewhere that's accessible via a pin.
Can you please investigate this issue?
Many thanks!
Stephan