Skip to content

Shiny app to add a stamp to the first page of short paper PDFs for postprint publication in open repositories.

License

Notifications You must be signed in to change notification settings

reproducible-agile/agile-postprint-stamp

Repository files navigation

AGILE Postprint Stamp

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.

Use app online

There currently is no online deployment of this app.

Use app locally

  1. Clone the repositoy
  2. Generate the stamps for all years by running R -f stamps.R
  3. Open app.R in RStudio
  4. 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.

Use container locally

docker build --tag agile-postprint-stamp:local .
docker run -it --rm -p "8080:8080" agile-postprint-stamp:local

Deploy app

Heroku

You should test the container locally before you deploy, see above.

Shinyapps.io

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"))

Contribute

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!

License

Copyright 2020 Daniel Nüst. Project is published under GNU GPL v3 license, see file LICENSE.md for details.

About

Shiny app to add a stamp to the first page of short paper PDFs for postprint publication in open repositories.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published