Nothing
library(testthat)
library(CNAIM)
context("Current Probability of Failure for 66kV OHL (Tower Line) Conductor")
test_that("pof_ohl_cond_132_66_33kv", {
res <- pof_ohl_cond_132_66_33kv(ohl_conductor = "66kV OHL (Tower Line) Conductor",
sub_division = "Cu",
placement = "Default",
altitude_m = 130,
distance_from_coast_km = 1,
corrosion_category_index = 1,
age = 12,
conductor_samp = "Medium/Normal",
corr_mon_survey = "Medium/Normal",
visual_cond = "Normal Wear",
midspan_joints = 3,
reliability_factor = "Default") %>% round(5)
expected_val <- data.frame(pof = 0.00484, chs = 5.5)
expect_equal(res, expected_val)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.