CommencerCommencez gratuitement

Check for output and identicalness

You are helping your friend understand the different scenarios in which she would use expectations to test function capabilities. The expect_output() and expect_identical() functions are two of the most common expectations in the testthat package.

Which statement correctly describes a property of expect_output() or expect_identical() functions in the testthat package?

Cet exercice fait partie du cours

<cours>Developing R Packages</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice