-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
failed to replicateFailed to replicate the issue. Might need additional details to isolate the problemFailed to replicate the issue. Might need additional details to isolate the problem
Description
I have an issue migrating my code from MacOS to Windows devices.
The following code snippet works just fine on my MacOS but hangs itself after the first iteration:
include
path <- list.files(path = paste0(getwd(),"/raw"),
pattern = "*.pdf",
recursive = TRUE,
full.names = TRUE)
file <- list.files(path = paste0(getwd(),"/raw"),
pattern = "*.pdf",
recursive = TRUE)
for(i in 1:length(file)){
file.path <- str_extract(file[i],".*(?=(KV[0-9]+\\.pdf))")
dir.create(file.path(paste0(getwd(),"/output/",file.path)), showWarnings = FALSE)
split_pdf(input_filepath = path[i],
output_directory = file.path,
prefix = paste0("p","_"))
}
I installed pdftk on both devices and they work fine, so I guess it's an issue regarding staplr.
Any suggestions to quickly solve the issue?
Metadata
Metadata
Assignees
Labels
failed to replicateFailed to replicate the issue. Might need additional details to isolate the problemFailed to replicate the issue. Might need additional details to isolate the problem