staplr icon indicating copy to clipboard operation
staplr copied to clipboard

rotate_pdf doesn't seem to work

Open kevinho1996 opened this issue 5 years ago • 3 comments

I ran the following code, but no file is being created or replaced.

library(staplr)
rotate_pdf(page_rotation = 90, input_filepath = "test.pdf", output_filepath = "success.pdf", overwrite = TRUE)

update: in case it was a coding error, I also created a question in stackoverflow

kevinho1996 avatar Oct 08 '19 10:10 kevinho1996

Could you please try the development version of this package. devtools::install_github("pridiltal/staplr")

Also could you please try this and let me know if it works? This allows you to select the folders interactively. rotate_pdf(page_rotation = 90)

pridiltal avatar Oct 08 '19 22:10 pridiltal

I think I am not the only one

https://community.rstudio.com/t/rotating-pdf-in-r/33883

anyone can rotate the pdf?

kevinho1996 avatar Oct 11 '19 10:10 kevinho1996

Did you try installing the development version? Did it cause any changes in the behaviour of the function?

If you are using the CRAN version, could you tell us what you see when you do system("pdftk")

Edit: It would also be helpful to see if any other pdftk functions work.

oganm avatar Oct 11 '19 21:10 oganm