eBooks-it.org Logo
eBooks-IT.org Inner Image

Testing R Code

Testing R Code Image

Book Details:

Publisher:Chapman and Hall/CRC
Series: CRC Press
Author:Richard Cotton
Edition:1
ISBN-10:1498763650
ISBN-13:9781498763653
Pages:196
Published:Jan 19 2017
Posted:Apr 15 2017
Language:English
Book format:PDF
Book size:3.11 MB

Book Description:

Learn how to write R code with fewer bugs. The problem with programming is that you are always one typo away from writing something silly. Likewise with data analysis, a small mistake in your model can lead to a big mistake in your results. Combining the two disciplines means that it is all too easy for a missed minus sign to generate a false prediction that you dont spot until its too late. Testing is the only way to be sure that your code, and your results, are correct. Testing R Code teaches you how to perform development-time testing using the testthat package, allowing you to ensure that your code works as intended. The book also teaches run-time testing using the assertive package; enabling your users to correctly run your code. After beginning with an introduction to testing in R, the book explores more advanced cases such as integrating tests into R packages; testing code that accesses databases; testing C++ code with Rcpp; and testing graphics. Each topic is explained with real-world examples, and has accompanying exercises for readers to practise their skills only a small amount of experience with R is needed to get started!

Download Link:

Related Books:

Unit Testing in Java

How Tests Drive the Code
Unit Testing in Java Image
Software testing is indispensable and is one of the most discussed topics in software development today. Many companies address this issue by assigning a dedicated software testing phase towards the end of their development cycle. However, quality cannot be tested into a buggy application. Early and continuous unit testing has been shown to be crucial for high quality software and low defect rates. Yet current books on testing ignore the developer's point of view and give little guidance on how to bring the overwhelming amount of testing theory into practice. Unit Testing in Java represents a practical introduction to unit testing for software developers. It introduces the basic test-first approach and then discusses a large number of special issues ...

Quality Code

Software Testing Principles, Practices and Patterns
Quality Code Image
Test-driven, test-first, and test-early development practices are helping thousands of software development organizations improve their software. Now, in Quality Code: Software Testing Principles, Practices, and Patterns, Stephen Vance builds on all that's been learned about test-driven development, helping you achieve unprecedented levels of first-time quality. Using real-world code examples, this guide introduces patterns, principles, and more than two dozen detailed techniques for testing any software system more fully, effectively, and painlessly. Vance presents a conceptual framework to help you focus your efforts and design recommendations for improving testability across the software lifecycle, and also provides hands-on guidance to simplify...

Sonar Code Quality Testing Essentials

Sonar Code Quality Testing Essentials Image
Achieve higher levels of Software Quality with Sonar Take full advantage of the Sonar platform and its visual components to track code quality and defects Create step by step software quality profiles that match your needs. Real world examples that use Sonar efficiently to assess quality and improve Java code. In Detail Sonar is an open source platform used by development teams to manage source code quality. Sonar has been developed with this main objective in mind: make code quality management accessible to everyone with minimal effort. As such, Sonar provides code analyzers, reporting tools, manual reviews, defect-hunting modules, and Time Machine as core functionalities. It also comes with a plugin mechanism enabling the community to extend the fu...



2007 - 2021 © eBooks-IT.org