Shiny application for adding a textbox to the first page of an AGILE short paper, so it can be uploaded to public preprint servers or institional repositories.
There currently is no online deployment of this app.
- Clone the repositoy
- Generate the stamps for all years by running
R -f stamps.R
- Open
app.R
in RStudio - Click "Run App"
In R:
git2r::clone("reproducible-agile/agile-postprint-stamp", local_path = ".")
renv::restore()
source("stamps.R")
shiny::runApp()
The project's dependencies are pinned in the renv.lock
file.
docker build --tag agile-postprint-stamp:local .
docker run -it --rm -p "8080:8080" agile-postprint-stamp:local
- Add configuration as per https://github.com/virtualstaticvoid/heroku-docker-r (https://github.com/virtualstaticvoid/heroku-buildpack-r is not good with system deps)
Aptfile
Dockerfile
heroku.yml
run.R
- Create new app on Heroku (or use Heroku CLI) named
agile-postprint-stamp
- Connect app to GitHub
- Activate the container stack with the Heroku CLI:
heroku stack:set container --app agile-postprint-stamp
- Deploy
heroku
main branch, automatically
You should test the container locally before you deploy, see above.
Shinyapps currently does not have qpdf
, and the package does not explose the required feature, see ropensci/qpdf#11
library("rsconnect")
rsconnect::deployApp(".", appFiles = c("app.R", "www", "stamp", "renv.lock"))
Please note that this project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Please report bugs as GitHub issues.
All contributions welcome!
Copyright 2020 Daniel Nüst. Project is published under GNU GPL v3 license, see file LICENSE.md
for details.