sftools (0.1.5)
remotes::install_github("opoyc/sftools")
devtools::install_github("opoyc/sftools")
install_sanofi_pkg <- function(){
choice <- menu(choices = c("kinapi", "sftools", "None"), title = "Which package would you like to install?")
if(choice == 1){
pkg <- "https://emea-aws-gitlab.sanofi.com:3001/statistical_forecasting/packages/kinapi.git"
} else if(choice == 2) {
pkg <- "https://emea-aws-gitlab.sanofi.com:3001/statistical_forecasting/packages/sftools.git"
} else if(choice == 3){
message("Bye!")
}
cred <- git2r::cred_user_pass(rstudioapi::askForPassword("Username"), rstudioapi::askForPassword("Password"))
devtools::install_git(pkg, credentials = cred)
}
Then run:
install_sanofi_pkg()
sftools::acov()
sftools::winsorize()
sftools::outlier_method()
sftools::seas_detect()
(beta)sftools::generate_fitted()
sftools::tscut()
sftools:::sum_twelve()
sftools:::class_volval()
sftools::load_db()
sftools::read_knx()
automatically detects KNX tables and performs tidy transformations. Current compability:The package have several depedencies, if you face a problem installing it please update them using:
suppressMessages(
{
packages = c('tidyverse', 'janitor', 'dplyr', 'readr', 'stringr', 'DescTools'
, 'dvmisc', 'purrr', 'pracma', 'lubridate', 'tibble', 'tidyr', 'changepoint'
, 'forecast', 'stlplus', 'readxl')
check_packages <- lapply(
packages,
FUN = function(x) {
if (!require(x, character.only = TRUE)) {
install.packages(x, dependencies = TRUE)
library(x, character.only = TRUE)
}
}
)
#source: https://vbaliga.github.io/verify-that-r-packages-are-installed-and-loaded/
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.