What are the best practices for testing API packages?

Hello!

I have been working on a package that takes an API from a CRM to be able to get the data into R and also create son items in the CRM account from R. I have the functions but one question that comes to my mind is How can I test the functions without having to connect to the API? Is there documentation or examples about this that you can point me out?

Thanks!

4 Likes

Hello @ronny here is a great article from R-Hub that gives a great overview on some best practices:

3 Likes

Great! Thanks for the info!

Here are some other resources you might want explore:

4 Likes

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