pridiltal / staplr

PDF Toolkit. :paperclip: :hammer: :wrench: :scissors: :bookmark_tabs: :file_folder::paperclip: :bookmark: :construction: :construction_worker:
https://pridiltal.github.io/staplr/
266 stars 27 forks source link

rotate_pdf doesn't seem to work #46

Open kevinho1996 opened 5 years ago

kevinho1996 commented 5 years ago

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

pridiltal commented 5 years ago

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)

kevinho1996 commented 5 years ago

I think I am not the only one

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

anyone can rotate the pdf?

oganm commented 5 years ago

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.