I was facing error "Error in py_module_import(module, convert = convert) :
ModuleNotFoundError: No module named 'rpytools'".
This got resolved by using "sys <- import("sys", convert = TRUE)".
But the first when app is launched it will throw this rpytools error and then on reloading app it works fine.
What can I do to not face this issue at the very first time of launching of my app.