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

createSpeciesFolders function does not work correctly with Khmer script #12

Open
git-og opened this issue Dec 18, 2020 · 0 comments
Open

Comments

@git-og
Copy link
Contributor

git-og commented Dec 18, 2020

When using species names with Khmer script, the folder are not created by the createSpeciesFolders function.

With the following species names (or classification groups) used in createSpeciesFolders, only folders for 0_Empty, 1_Deployment and collection, and Bird_unidentified will be created. The folders for the two that contain Khmer characters are not created.

0_Empty
1_Deployment and collection
Banteng_ទន្សោង
Bird_unidentified
Chevrotain_ក្តាន់ញែងតូច

I assume this generalises to other non-Latin characters and to other functions, but I haven't tested it. For a quick workaround, I concatenated the classification groups with a file path, then used lapply(df$path, FUN = dir.create) to create the folders from a list of file paths.

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

1 participant