Created
September 23, 2019 21:15
-
-
Save BenjaminWolfe/5f95b589af2cdf63bf7ed5006c4e6520 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' Eureka! | |
#' | |
#' Running `devtools::check()` on my Windows laptop, | |
#' I kept getting the following warning: | |
#' | |
#' ``` | |
#' 'qpdf' is needed for checks on size reduction of PDFs | |
#' ``` | |
#' | |
#' I downloaded the latest version of `qpdf` from SourceForge, | |
#' but I don't have admin rights to add it to my Windows PATH. | |
#' So instead I ran the following: | |
devtools::check( | |
env_vars = list( | |
PATH = paste( | |
Sys.getenv("PATH"), | |
"C:\\Users\\wolfebe1\\Software\\qpdf\\bin", | |
sep = ";" | |
) | |
) | |
) | |
#' Bam! Zero warnings! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment