Skip to content

Commit 45478a1

Browse files
try adding function to fix coverage
r-lib/covr#427
1 parent e550a8b commit 45478a1

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Generated by roxygen2: do not edit by hand
22

33
export(kl_estimate_na)
4+
export(temp_function)
45
import(chk)
56
importFrom(stats,lm)
67
importFrom(stats,predict)

R/function.R

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#' temp_function
2+
#'
3+
#' function included as workaround for issue:
4+
#' https://github.com/r-lib/covr/issues/427
5+
#'
6+
#' @param x Any object
7+
#'
8+
#' @return The same object.
9+
#' @export
10+
#'
11+
#' @examples
12+
#'
13+
#' temp_function(3)
14+
#'
15+
16+
temp_function <- function(x) {
17+
x
18+
}

man/temp_function.Rd

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

0 commit comments

Comments
 (0)