Skip to content

Commit

Permalink
docs + test notes
Browse files Browse the repository at this point in the history
  • Loading branch information
MANSOURI Assil Ext committed Mar 10, 2023
1 parent 780eddf commit 363121f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions R/computeTimeStampFromHourly.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#' @title Compute daily, weekly, monthly and annual mc-ind from hourly data.
#'
#' @note Deprecated on studies v8 or higher.
#'
#' @description
#' `r antaresEditObject:::badge_api_no()`
#'
Expand Down
4 changes: 4 additions & 0 deletions R/computeTimeStepFromHourly.R
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@

#' @title Compute daily, weekly, monthly and annual mc-ind from hourly data for one year. (new)
#'
#' @note Recommended only with studies spanning on two years.
#'
#' @param mcYear vector of years to compute
#' @param type type of data (areas, links, clusters, clustersRes)
#' @param areas vector of areas. links type will use getLinks() to get data.
Expand Down Expand Up @@ -253,6 +255,8 @@ computeOtherFromHourlyYear <- function(mcYear,


#' @title Compute daily, weekly, monthly and annual mc-ind from hourly data multiyear. (new)
#'
#' @note Recommended only with studies spanning on two years.
#'
#' @param opts study opts
#' @param areas vector of areas
Expand Down
3 changes: 3 additions & 0 deletions man/computeOtherFromHourlyMulti.Rd

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

3 changes: 3 additions & 0 deletions man/computeOtherFromHourlyYear.Rd

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

3 changes: 3 additions & 0 deletions man/computeTimeStampFromHourly.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-computeTimeStepFromHourly.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
context("Function new computeOtherFromHourly")

skip("")
skip("Function requires study that spans on 2 years (TODO)")

sapply(studies[2], function(study) {

Expand Down

0 comments on commit 363121f

Please sign in to comment.