Hello,
and sorry for the late reply, missed the original post.
As said, CTtable needs to be specified, unless you have an object of that name in your environment.
The + are likely only from copying code from the console, but should not appear in actual code.
There is also a comma at the end which implies an empty/ unassigned function argument after and may cause problems, so I'd suggest removing it.
If none of this helps please share a small data subset, ideally in a saved R workspace. The error suggests some . unforeseen condition which is not caught by a proper error message.
Thank you