Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commas and spaces in directory and file names #34

Open
rlebron-bioinfo opened this issue May 2, 2020 · 3 comments
Open

commas and spaces in directory and file names #34

rlebron-bioinfo opened this issue May 2, 2020 · 3 comments

Comments

@rlebron-bioinfo
Copy link

Commas, spaces and some other non-alphanumeric characters are problematic. Please correct the directory and file names. Thank you very much.

@renanxcortes
Copy link
Owner

renanxcortes commented May 2, 2020

Hi @rlebron-bioinfo , could you share an example of book/directory that was problematic on your side? And what do you mean by "problematic"? For example, the book Plant Physiology, Development and Metabolism is downloading just fine.

@leabarteam
Copy link

Hi,
First, thanks for your code, however, I have a problem when I want to run it, here is the error message I get and it seems related to this issue.

springerQuarantineBooksR::download_springer_book_files(destination_folder` = "Springer_quarantine_books",lan = "eng",filetype = "both")

Downloading title latest editions.
Processing... Fundamentals of Power Electronics (1 out of 376)
Error in str_replace_all(book_spec_title, "/", "-") :
could not find function "str_replace_all"

Thank you so much

@renanxcortes
Copy link
Owner

Hi,
First, thanks for your code, however, I have a problem when I want to run it, here is the error message I get and it seems related to this issue.

springerQuarantineBooksR::download_springer_book_files(destination_folder` = "Springer_quarantine_books",lan = "eng",filetype = "both")

Downloading title latest editions.
Processing... Fundamentals of Power Electronics (1 out of 376)
Error in str_replace_all(book_spec_title, "/", "-") :
could not find function "str_replace_all"

Thank you so much

Could you try installing and loading stringr package.

Also, I recently fix this behavior with #39. Therefore, if you re-install springerQuarantineBooksR this should also be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants