-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from ropensci-review-tools/review
updates in response to pre-review for #88
- Loading branch information
Showing
9 changed files
with
101 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: pkgmatch | ||
Title: Find R Packages Matching Either Descriptions or Other R Packages | ||
Version: 0.4.2.015 | ||
Version: 0.4.2.021 | ||
Authors@R: c( | ||
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-2172-5265")), | ||
|
@@ -11,11 +11,12 @@ License: MIT + file LICENSE | |
URL: https://docs.ropensci.org/pkgmatch/, | ||
https://github.com/ropensci-review-tools/pkgmatch | ||
BugReports: https://github.com/ropensci-review-tools/pkgmatch/issues | ||
Requires: R (>= 4.1.0) | ||
Imports: | ||
brio, | ||
checkmate, | ||
cli, | ||
curl, | ||
curl (>= 6.0.0), | ||
dplyr, | ||
fs, | ||
httr2, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Testing this package | ||
|
||
Note that all tests here are mocked, and the entire test suite can be run | ||
without even installing `ollama`, which is otherwise required to actually use | ||
the package itself. | ||
|
||
Tests can be run using any common testing functions, such as: | ||
|
||
- `devtools::testl()` | ||
- `testthat::test_local()` | ||
- `covr::package_coverage()` | ||
|
||
Note that test coverage reports currently [exclude the following | ||
functions](https://github.com/ropensci-review-tools/pkgmatch/blob/52eaf4e841f627c315619e73300cb8cd175af929/.github/workflows/test-coverage.yaml#L41-L440o): | ||
|
||
- [`R/ollama.R`](https://github.com/ropensci-review-tools/pkgmatch/blob/main/R/ollama.R), | ||
which contains functions to ascertain status of locally-running instance of | ||
[`ollama`](https://ollama.com). | ||
- [`R/browse.R`](https://github.com/ropensci-review-tools/pkgmatch/blob/main/R/browse.R) | ||
which contains a single function used to open URLs of results from this package | ||
in a local browser. | ||
|
||
Running `covr::package_coverage()` locally without excluding these two files | ||
will thus yield lower package coverage than the values reported from | ||
[`codecov`](https://app.codecov.io/gh/ropensci-review-tools/pkgmatch), yet | ||
still over 75%. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters