File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11Package: precommit
22Title: Pre-Commit Hooks
3- Version: 0.3.2.9003
3+ Version: 0.3.2.9004
44Author: Lorenz Walthert
55Maintainer: Lorenz Walthert <lorenz.walthert@icloud.com>
66Description: Useful git hooks for R building on top of the multi-language
Original file line number Diff line number Diff line change @@ -23,6 +23,6 @@ tryCatch(
2323 build_articles_index()
2424 }
2525 },
26- error = function (e ) e ,
26+ error = function (e ) stop( e ) ,
2727 warning = function (w ) stop(w )
2828)
Original file line number Diff line number Diff line change @@ -567,8 +567,7 @@ run_test("pkgdown-check",
567567 " _pkgdown.yml" = " _pkgdown-index.yml" ,
568568 " DESCRIPTION" = " DESCRIPTION"
569569 ),
570- suffix = " " ,
571- error_msg = NULL
570+ suffix = " " , std_err = NULL
572571)
573572
574573# failed index
@@ -579,7 +578,7 @@ run_test("pkgdown-check",
579578 " DESCRIPTION" = " DESCRIPTION"
580579 ),
581580 suffix = " " ,
582- error_msg = " topic must be a known"
581+ std_err = " topic must be a known"
583582)
584583
585584# failed articles
@@ -590,7 +589,7 @@ run_test("pkgdown-check",
590589 " DESCRIPTION" = " DESCRIPTION"
591590 ),
592591 suffix = " " ,
593- error_msg = " why-use-hooks"
592+ std_err = " why-use-hooks"
594593)
595594
596595# success index and article
@@ -602,7 +601,7 @@ run_test("pkgdown-check",
602601 " DESCRIPTION" = " DESCRIPTION"
603602 ),
604603 suffix = " " ,
605- error_msg = NULL
604+ std_err = NULL
606605)
607606
608607
You can’t perform that action at this time.
0 commit comments