Skip to content

Commit

Permalink
Merge branch 'issue-5' into develop (close #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Aug 31, 2023
2 parents d5e776f + 6d23bb1 commit 2927ca0
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: permChacko
Title: Chacko Test for Order-Restriction with Permutation
Version: 0.1.0.9001
Version: 0.1.0.9002
Authors@R:
c(
person(
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Replaced `verbose` with `verbosity` in functions to allow for more control over the output ([issue #3](https://github.com/ocbe-uio/permChacko/issues/3)).
* Exported `reduceVector()` ([issue #4](https://github.com/ocbe-uio/permChacko/issues/4)).
* Added package documentation ([issue #5](https://github.com/ocbe-uio/permChacko/issues/5)).

# permChacko 0.1.0

Expand Down
16 changes: 16 additions & 0 deletions R/onAttach.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#' @title Prints welcome message on package attachment
#' @description Prints package version number and welcome message on package
#' load
#' @param libname library location. See `?base::.onAttach` for details
#' @param pkgname package name. See `?base::.onAttach` for details
.onAttach <- function(libname, pkgname) {
version <- read.dcf(
file = system.file("DESCRIPTION", package = pkgname),
fields = "Version"
)
packageStartupMessage(
"This is ", paste(pkgname, version), "\n",
"To learn more about the package, please run help(\"permChacko-package\")",
" and help(\"permChacko\")."
)
}
7 changes: 7 additions & 0 deletions R/permChacko-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#' @keywords internal
#' @aliases permChacko-package
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL
17 changes: 17 additions & 0 deletions man/dot-onAttach.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions man/permChacko-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2927ca0

Please sign in to comment.