tmatta / lsasim

Simulate large scale assessment data
6 stars 5 forks source link

Removal of accented letters on cluster_gen is OS-dependent #46

Open wleoncio opened 3 years ago

wleoncio commented 3 years ago

This issue concerns the following code chunk:

https://github.com/tmatta/lsasim/blob/e398e1e1645a6c6074f65d41e2fc20f92fda8f7c/R/cluster_gen.R#L184-L187

It is intended to produce the following kind of output:

image

However, this seems to not be OS-agnostic. During the lsasim 2.1.0 release cycle, I was made aware that this works on Windows and mainstream Linux distributions, but Intel Macs and Solaris yield a different output. It was also noted that some Linux distributions such as Alpine (not tested by CRAN) do not even support "//TRANSLIT" at all.

It would be ideal if this feature was thus made more universal. Alternatively, it could be dropped, and accented letters would either be parsed directly or trigger a warning/error.