Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyMarkowitz-NOAA committed Apr 8, 2024
1 parent 8989841 commit 615d5b1
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions inst/r/run.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

# Connect to oracle ------------------------------------------------------------

# This has a specific username and password because I DONT want people to have access to this!
# source("https://raw.githubusercontent.com/afsc-gap-products/metadata/main/code/functions_oracle.R")

library(magrittr)
library(readr)
library(dplyr)
Expand Down Expand Up @@ -269,29 +266,22 @@ setwd(here::here())
## Create Documentation GitHub-Pages -------------------------------------------

.rs.restartR()
# devtools::install_github("rstudio/fontawesome", force = T)
library(fontawesome)
library(fontawesome) # # devtools::install_github("rstudio/fontawesome", force = T)
library(here)
library(usethis)
library(pkgdown)


# devtools::install_github("r-lib/pkgdown")
# pkgdown::build_favicons()
# devtools::build_vignettes()
# usethis::use_pkgdown(config_file = "./pkgdown/_pkgdown.yml")
# usethis::use_vignette("my-vignette")
# pkgdown::clean_site()
# pkgdown::build_site()
pkgdown::build_site(pkg = here::here())
# usethis::use_github_action("pkgdown")

# Save Package tar.gz
date0 <- "2024.04.05"
# file.remove(paste0(dirname(here::here()), "/GAPsurvey_",date0,".tar.gz"))
# file.remove(paste0((here::here()), "/GAPsurvey_",date0,".tar.gz"))
devtools::build(path = here::here(paste0("GAPsurvey_",date0,".tar.gz")))
# file.copy(from = paste0(dirname(here::here()), "/GAPsurvey_",date0,".tar.gz"),
# to = paste0(here::here(), "/GAPsurvey_",date0,".tar.gz"),
# overwrite = TRUE)


0 comments on commit 615d5b1

Please sign in to comment.