open the exploratory app locally with shiny::shinyAppFile("../teal.gallery/exploratory/app.R", options = list("launch.browser" = TRUE))
go to distribution module
add report card
download report as pdf with R code included
I get a shiny notification
and this in the console:
Listening on http://127.0.0.1:6471
! LaTeX Error: File `lmodern.sty' not found.
! Emergency stop.
<read *>
When I kill the app, I also get
Warning message:
In tm_file_viewer(label = "File viewer", input_path = list(png = "https://www.r-project.org/logo/Rlogo.png", :
Non-existent file or url path. Please provide valid paths for:
./packrat/desc/
I can still save a zip and when I try to knit the resulting Rmd I get
! LaTeX Error: File `lmodern.sty' not found.
! Emergency stop.
<read *>
Error: LaTeX failed to compile input_20231019152244900.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See input_20231019152244900.log for more info.
Execution halted
This is under
> R.version
_
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status Patched
major 4
minor 2.2
year 2022
month 11
day 10
svn rev 83330
language R
version.string R version 4.2.2 Patched (2022-11-10 r83330)
nickname Innocent and Trusting
I believe this is related to local system. you could try this to install missing file
sudo apt-get install lmodern
or
sudo apt-get install texlive-fonts-recommended
shiny::shinyAppFile("../teal.gallery/exploratory/app.R", options = list("launch.browser" = TRUE))
pdf
with R code includedI get a
and this in the console:
shiny
notificationWhen I kill the app, I also get
I can still save a
zip
and when I try to knit the resultingRmd
I getThis is under