From 2dda8459598618453105a854614187e7874cbb3d Mon Sep 17 00:00:00 2001 From: Kdreval Date: Fri, 22 Nov 2024 12:31:22 -0800 Subject: [PATCH] cleanup: remove workflowr --- DESCRIPTION | 3 +-- NAMESPACE | 2 -- R/web_initialize_gambl_site.R | 22 ---------------------- man/web_initialize_gambl_site.Rd | 25 ------------------------- 4 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 R/web_initialize_gambl_site.R delete mode 100644 man/web_initialize_gambl_site.Rd diff --git a/DESCRIPTION b/DESCRIPTION index e33c01b..ac813c6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -17,8 +17,7 @@ Imports: ggthemes, readr, tibble, - tidyr, - workflowr + tidyr Remotes: morinlab/GAMBLR.data Encoding: UTF-8 diff --git a/NAMESPACE b/NAMESPACE index ad6b74c..6b5fe8a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -31,12 +31,10 @@ export(subset_cnstates) export(theme_Morons) export(trim_scale_expression) export(vc_nonSynonymous) -export(web_initialize_gambl_site) import(GAMBLR.data) import(dplyr) import(ggplot2) import(readr) import(tibble) import(tidyr) -import(workflowr) importFrom(ggthemes,theme_foundation) diff --git a/R/web_initialize_gambl_site.R b/R/web_initialize_gambl_site.R deleted file mode 100644 index a781ee4..0000000 --- a/R/web_initialize_gambl_site.R +++ /dev/null @@ -1,22 +0,0 @@ -#' @title Web Initialize GAMBL Site. -#' -#' @description Set up a fresh instance of a website to host on gitlab. -#' -#' @param site_base_name Base name for site. -#' @param base_directory Path to base directory. -#' @param my_name My name. -#' @param my_gitlab_email The email used for gitlab. -#' -#' @import workflowr -#' -#' @export -web_initialize_gambl_site = function(site_base_name, - base_directory = "/home/rmorin/", - my_name = "Ryan Morin", - my_gitlab_email = "rdmorin@sfu.ca"){ - - wflow_git_config(user.name = my_name, user.email = my_gitlab_email) - setwd(base_directory) - wflow_start(site_base_name) - wflow_build() -} diff --git a/man/web_initialize_gambl_site.Rd b/man/web_initialize_gambl_site.Rd deleted file mode 100644 index 66a8b9b..0000000 --- a/man/web_initialize_gambl_site.Rd +++ /dev/null @@ -1,25 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/web_initialize_gambl_site.R -\name{web_initialize_gambl_site} -\alias{web_initialize_gambl_site} -\title{Web Initialize GAMBL Site.} -\usage{ -web_initialize_gambl_site( - site_base_name, - base_directory = "/home/rmorin/", - my_name = "Ryan Morin", - my_gitlab_email = "rdmorin@sfu.ca" -) -} -\arguments{ -\item{site_base_name}{Base name for site.} - -\item{base_directory}{Path to base directory.} - -\item{my_name}{My name.} - -\item{my_gitlab_email}{The email used for gitlab.} -} -\description{ -Set up a fresh instance of a website to host on gitlab. -}