Skip to content

Commit 32a4c55

Browse files
typos in comments
1 parent f03d246 commit 32a4c55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/roc.utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# You should have received a copy of the GNU General Public License
1818
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1919

20-
# Helper functions for the ROC curves. These functions should not be called directly as they peform very specific tasks and do nearly no argument validity checks. Not documented in RD and not exported.
20+
# Helper functions for the ROC curves. These functions should not be called directly as they perform very specific tasks and do nearly no argument validity checks. Not documented in RD and not exported.
2121

2222
# returns a list of sensitivities (se) and specificities (sp) for the given data. Robust algorithm
2323
roc_utils_perfs_all_safe <- function(thresholds, controls, cases, direction) {

tests/testthat/test-roc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ test_that("roc works with `with` and formula", {
426426
# Now this can work with #111
427427
with(aSAH, roc(form))
428428

429-
# Wrapping functinos can mess things up...
429+
# Wrapping functions can mess things up...
430430
wrap_roc <- function(formula) {
431431
roc(formula)
432432
}

0 commit comments

Comments
 (0)