An error occurred while loading the file. Please try again.
-
Le Roux Erwan authored
[Thesis committee drawing] improve GEV non stationary plots. rename ci_delta to ci_mle. catch some ci runtime exceptions. remove hatch/stripes drawing temporarily. fix unit for snow load. add new crocus classes & variable classes for snow load. modify conversion factor only for the new plots.
11cc9e8a
#' Check if the monthly time sheet can be validated
#'
#' Function used by [fdt_valid] before validation attempt.
#'
#' @inheritParams fdt_valid
#'
#' @return [logical] `TRUE` if the time sheet is ready for validation, `FALSE` otherwise
#' @export
#'
#' @examples
#' \dontrun{
#' library(hatata)
#' session <- login("pnom", "my_password")
#' fdt_valid(session, "15/04/2021")
#' }
fdt_isValidable <- function(session, date_validation) {
session <- jump_to_pointage(session, date = date_validation)
is.na(session %>% rvest::html_node(xpath = "//div[@id=\"edition_en_masse\"]/button") %>%
rvest::html_attr(name = "disabled"))
}