Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silence startup messages when running tests #10

Open
kyleam opened this issue Aug 14, 2023 · 0 comments
Open

silence startup messages when running tests #10

kyleam opened this issue Aug 14, 2023 · 0 comments

Comments

@kyleam
Copy link
Collaborator

kyleam commented Aug 14, 2023

Example output from gh-9:

$ git rev-parse HEAD
884a1cdd38f7fccd2278048424f02fd0c54ae185

$ Rscript -e 'devtools::test()'
[1] "/data/home/kylem/scratch/r-pkg-libs/mpn.scorecard/lib"
[2] "/opt/R/4.1.3/lib/R/library"                           
ℹ Testing mpn.scorecard
Using poppler version 0.62.0

Attaching package: ‘dplyr’

The following object is masked from ‘package:testthat’:

    matches

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

✔ | F W S  OK | Context
✔ |         6 | create-extra-notes                                                                                     
✔ |        46 | format-report [1.6s]                                                                                   
✔ |        26 | make-traceability-matrix                                                                               
✔ |        17 | mitigation [33.4s]                                                                                     
✔ |        20 | render-scorecard [21.4s]                                                                               
✔ |        69 | results [82.4s]                                                                                        
✔ |        25 | score-pkg [24.5s]                                                                                      
✔ |         9 | summarize-package-results                                                                              

══ Results ════════════════════════════════════════════════════════════════════════════════════════════════════════════
Duration: 164.1 s

[ FAIL 0 | WARN 0 | SKIP 0 | PASS 218 ]

Ideally there would be no messages between "Testing mpn.scorecard" and the "✔ | F W S OK | Context" line.

(Edit: please ignore the first two lines; those are coming from my .Rprofile for the project.)

@kyleam kyleam added this to the Next milestone Aug 14, 2023
@seth127 seth127 removed this from the Next milestone Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants