Code and script viewer

Hi all,
I would like to ask whether there is automatic code or script viewer (especially based on artificial intelligence) that can replace human in code and scripts viewing and check.
Redha

Hi,

I'm not sure I understand the question. What do you mean by viewer? And where would AI come in ? Please provide us some more in depth description.

PJ

1 Like

Hi,
I am looking for tools that could replace humans in checking scripts and codes. Indeed the check of scripts is very time and effort consuming, especially when we are alone to write codes and scripts and check them by ourseleves. So I am wondering if there are tools (based on AI or not) that can replace humans in this task.
Best regards,
Redha

Hi,

I'm still not sure what you mean by "checking". Here are some things that exist:

  • If you are using something like RStudio, it will notify you when you write incorrect syntax by highlighting the line.
  • If your code contains an error that is not syntax based, it will generate an error message and you can debug using tools available in RStudio
  • If you need to test a set of code that is being worked on, you can use packages like testthat which will perform unit testing on you scripts by running it with different sets of inputs testing various scenarios.

Just to be clear, there is no AI that can check and correct your code, should that be the case, this forum would not be needed :slight_smile:

Hope this helps,
PJ

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.