Skip to content

Commit 50d53c1

Browse files
authored
Merge pull request #275 from pharmaR/prep_0.1.3
Prep for 0.2.0 release to cran
2 parents 527c07a + 8d6a2ce commit 50d53c1

File tree

5 files changed

+28
-30
lines changed

5 files changed

+28
-30
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
env:
4141
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4242
R_KEEP_PKG_SOURCE: yes
43+
_R_CHECK_RD_VALIDATE_RD2HTML_: false
4344

4445
steps:
4546
- uses: actions/checkout@v2
@@ -56,7 +57,11 @@ jobs:
5657
with:
5758
extra-packages: rcmdcheck
5859

60+
- uses: r-lib/actions/setup-tinytex@v2
61+
5962
- uses: r-lib/actions/check-r-package@v2
63+
with:
64+
args: 'c("--as-cran", "--no-manual")'
6065

6166
- name: Show testthat output
6267
if: always()

DESCRIPTION

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Package
33
Title: Risk Metrics to Evaluating R Packages
44
Description: Facilities for assessing R packages against a number of metrics to
55
help quantify their robustness.
6-
Version: 0.1.2
6+
Version: 0.2.0
77
Authors@R: c(
88
person("R Validation Hub", role = c("aut"), email = "psi.aims.r.validation@gmail.com"),
99
person("Doug", "Kelkhoff", role = c("aut"), email = "doug.kelkhoff@gmail.com"),
@@ -35,8 +35,7 @@ Imports:
3535
pillar,
3636
tibble,
3737
pkgload,
38-
devtools,
39-
qpdf
38+
devtools
4039
Suggests:
4140
knitr,
4241
rmarkdown,

NEWS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# riskmetric 0.2.0
2+
3+
- We now have a Hex Logo! #233. Thanks to @AARON-CLARK.
4+
- Number of download assessment can now take a specified number of days. #258. Thanks to @parmsam-pfizer.
5+
- A new assessment was added for determining the size of the codebase. #66. Thanks to @shengwei66.
6+
- Fixed an issue of some scores returning negative numbers instead of values between [0,1]. Thanks to @emilliman5.
7+
- A new assessment was added for the presens of a bug report URL for the package. Thanks to @kimjj93.
8+
- A new assessment was added to score the dependency footprint of a package. Thanks to @emilliman5.
9+
110
# riskmetric 0.1.2
211

312
- Hotfix release to correct testing suite such that tests are less continent on

R/pkg_assess.R

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,6 @@ roxygen_assess_family <- function(name,
3030
"@examples assess_%s(pkg_ref(\"%s\"))"
3131
}
3232

33-
34-
if (!assess_func %in% getNamespaceExports(utils::packageName()) ||
35-
!score_func %in% getNamespaceExports(utils::packageName())) {
36-
stop(sprintf(
37-
paste0(
38-
"All assess_* functions must have a corresponding score.* method ",
39-
"implemented.\n\n",
40-
"To remove build errors, ensure that the following functions are ",
41-
"implemented:\n\n",
42-
" %s()\n",
43-
" %s()\n"),
44-
assess_func,
45-
score_func))
46-
}
47-
4833
c("@param x a \\code{pkg_ref} package reference object",
4934
"@param ... additional arguments passed on to S3 methods, rarely used",
5035
sprintf("@return a \\code{pkg_metric} containing %s", return_type),

man/pkg_assess.Rd

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)