Error in compileCode(f, code, language = language, verbose = verbose) : make: NUL: No such file or directorymake: *** No rule to make target 'NUL'. Stop

Thanks @andrjohns!
Actually, the problem was fixed via an approach from your post from here.
Thanks again for your help!