Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

goodpractice output shows test coverage should be extended #4

Closed
pachadotdev opened this issue Apr 16, 2019 · 0 comments
Closed

goodpractice output shows test coverage should be extended #4

pachadotdev opened this issue Apr 16, 2019 · 0 comments

Comments

@pachadotdev
Copy link
Contributor

pachadotdev commented Apr 16, 2019

Please run goodpractice::gp() to check how to expand test coverage.

Here's my output:

> goodpractice::gp()
Preparing: covr
Preparing: cyclocomp
Preparing: description
Preparing: lintr
Preparing: namespace
Preparing: rcmdcheck
── GP citesdb ───────────────────────────────────────────────────────────────────────────────────

It is good practice towrite unit tests for all functions, and all package code in general. 0%
    of code lines are covered by test cases.

    R/connect.R:3:NA
    R/connect.R:4:NA
    R/connect.R:5:NA
    R/connect.R:7:NA
    R/connect.R:12:NA
    ... and 208 more lines

───────────────────────────────────────────────────────────────────────────────────────────────── 
Warning messages:
1: In MYPREPS[[prep]](state, quiet = quiet) :
  Prep step for cyclomatic complexity failed.
2: In MYPREPS[[prep]](state, quiet = quiet) :
  Prep step for rcmdcheck failed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants