msgtools icon indicating copy to clipboard operation
msgtools copied to clipboard

Error trying to run install_translations()

Open leobelen opened this issue 7 years ago • 0 comments

Doing the following on an empty package on R 3.5.1 on macOS (with all supporting software installed):

library("msgtools")
use_localization()
en <- make_translation("en", translator = "A translator <[email protected]>")
write_translation(en)
check_translations()
install_translations()

gives the following error while executing install_translations():

0 translated messages.
0 translated messages.
Error in (function (value)  : 
  is_superset : The elements ‘msgid’, ‘msgid_plural’, ‘msgstr’ in compulsory_cols are not in colnames(value).

Needless to say that even if I try to add new messages it wont work. Interestingly enough, check_translations() says that there are no errors to report.

leobelen avatar Jul 26 '18 17:07 leobelen