I am translating some code from VBA to R. I have pasted quite of bit of VBA code into my script and I am working on converting it to R. I want to source the script up to where I have placed a stop(). However RStudio insists on checking my entire script for syntax errors before starting. Because there are lots of syntax errors further down, it refuses to source the script.
How can I disable code diagnostics prior to sourcing the script? Thanks.
# I want to source this script print("print it works!") stop() Some_old_VBA_code = that_I_am_translating _ + 1