Skip to content

Commit

Permalink
Updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Venelin Mitov committed Nov 20, 2019
1 parent 83879d0 commit e60cde3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Expand Up @@ -38,5 +38,4 @@ importFrom(abind,abind)
importFrom(data.table,rbindlist)
importFrom(stats,logLik)
importFrom(utils,Rprof)
importFrom(utils,packageDescription)
useDynLib(PCMBaseCpp)
8 changes: 2 additions & 6 deletions R/Utilities.R
Expand Up @@ -16,15 +16,11 @@
# along with PCMBase. If not, see <http://www.gnu.org/licenses/>.

#' Check if the PCMBaseCpp version correpsonds to a dev release
#' @importFrom utils packageDescription
#' @description We define a dev release as having a sub-release, eg 0.9.15.5 is
#' one whereas 0.9.16 is not. The number of components in the version can be
#' changed through the argument numVersionComponents.
#' @description This function is used during unit-testing, to disable some unit-
#' tests which run extremely long or are consistently failing on some systems.
#' @return a logical
#' @export
PCMBaseCppIsADevRelease <- function() {
# !is.na( packageDescription("PCMBaseCpp") ) &&
# length(strsplit(packageDescription("PCMBaseCpp")$Version, "\\.")[[1]]) >= 3
TRUE
}

5 changes: 2 additions & 3 deletions man/PCMBaseCppIsADevRelease.Rd

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

0 comments on commit e60cde3

Please sign in to comment.