Installing QualtricsTools - tufts-oir/QualtricsTools GitHub Wiki

Before installing, you must install R or Rstudio, devtools, Rtools (if you're on Windows), and Pandoc. For Rtools with Windows, please make sure Rtools is added to the Path environment variable. After installing each of the prerequisites, to install QualtricsTools run the following in R:

if (! "shinyDirectoryInput" %in% rownames(installed.packages())) {
  devtools::install_github("wleepang/shiny-directory-input")
}
devtools::install_github("emma-morgan/QualtricsTools")

This will also check for the required package shinyDirectoryInput and will install from GitHub if this is not yet available. This package is used to select directory for comment coding in the Shiny App. Thank you to W. Lee Pang for the package! (https://github.com/wleepang/shiny-directory-input)

To run the Shiny app, load the package and then call the app() function.

library(QualtricsTools)
QualtricsTools::app()

The QualtricsTools Shiny app should now be running! Enjoy. To update your version of QualtricsTools to the most recent version, run devtools::install_github("emma-morgan/QualtricsTools") again.