-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c70bfde
commit 0f1b4b9
Showing
3 changed files
with
37 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
## ----install_rsthemes, eval = FALSE-------------------------------------------------- | ||
## ----install_rsthemes, eval = FALSE---- | ||
## remotes::install_github(c( | ||
## "gadenbuie/rsthemes" | ||
## )) | ||
## remotes::install_cran("suncalc") | ||
## rsthemes::install_rsthemes(include_base16 = TRUE) | ||
|
||
|
||
## ----r_profile, eval = FALSE--------------------------------------------------------- | ||
## ----r_profile, eval = FALSE----------- | ||
## usethis::edit_r_profile() | ||
## | ||
## ## From https://www.garrickadenbuie.com/project/rsthemes/ | ||
|
@@ -32,21 +32,21 @@ | |
## options(repos = c(CRAN = "https://cloud.r-project.org")) | ||
|
||
|
||
## ----proj, eval = FALSE-------------------------------------------------------------- | ||
## ----proj, eval = FALSE---------------- | ||
## usethis::create_project("~/rnaseq_2024_notas") | ||
|
||
|
||
## ----create_setup, eval = FALSE------------------------------------------------------ | ||
## ----create_setup, eval = FALSE-------- | ||
## ## Start a setup file | ||
## usethis::use_r("01-notas.R") | ||
|
||
|
||
## ----create_01-visualizar-mtcars, eval = FALSE--------------------------------------- | ||
## ----create_01-visualizar-mtcars, eval = FALSE---- | ||
## ## Creemos el archivo R/02-visualizar-mtcars.R | ||
## usethis::use_r("02-visualizar-mtcars.R") | ||
|
||
|
||
## ----vis_mtcars, eval = FALSE-------------------------------------------------------- | ||
## ----vis_mtcars, eval = FALSE---------- | ||
## library("sessioninfo") | ||
## library("here") | ||
## library("ggplot2") | ||
|
@@ -75,29 +75,29 @@ | |
## sessioninfo::session_info() | ||
|
||
|
||
## ----use_git_init, eval = FALSE------------------------------------------------------ | ||
## ----use_git_init, eval = FALSE-------- | ||
## ## Para poder conectar tu compu con GitHub | ||
## usethis::create_github_token() ## Abrirá una página web, escoje un nombre único | ||
## ## y luego da click en el botón verde al final. Después copia el token | ||
## ## (son 40 caracteres) | ||
|
||
|
||
## ----gitcreds_set, eval = FALSE------------------------------------------------------ | ||
## ----gitcreds_set, eval = FALSE-------- | ||
## gitcreds::gitcreds_set() ## Ojo, copia el token, no tu password de git! | ||
## ## Si no, terminaras en la situación descrita en | ||
## ## https://github.com/r-lib/usethis/issues/1347 | ||
|
||
|
||
## ----edit_r_envir, eval = FALSE------------------------------------------------------ | ||
## ----edit_r_envir, eval = FALSE-------- | ||
## usethis::edit_r_environ() | ||
|
||
|
||
## ----use_git_cont_parte1, eval = FALSE----------------------------------------------- | ||
## ----use_git_cont_parte1, eval = FALSE---- | ||
## ## Configura tu usuario de GitHub | ||
## usethis::edit_git_config() | ||
|
||
|
||
## ----use_git_cont_parte2, eval = FALSE----------------------------------------------- | ||
## ----use_git_cont_parte2, eval = FALSE---- | ||
## ## Para inicializar el repositorio de Git | ||
## usethis::use_git() | ||
## | ||
|
@@ -112,7 +112,7 @@ | |
## ## https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | ||
## git clone [email protected]:lcolladotor/rnaseq_LCG-UNAM_2024.git | ||
|
||
## ----clone_repo, eval = FALSE-------------------------------------------------------- | ||
## ----clone_repo, eval = FALSE---------- | ||
## ## Opción más nueva: | ||
## library("gert") | ||
## repo <- git_clone( | ||
|
@@ -128,26 +128,26 @@ | |
## ) | ||
|
||
|
||
## ----eval=FALSE---------------------------------------------------------------------- | ||
## ----eval=FALSE------------------------ | ||
## ## Puedes instalar Postcards con el siguiente comando: | ||
## install.packages("postcards") | ||
## | ||
## ## O puedes instalar la última versión en desarrollo: | ||
## remotes::install_github("seankross/postcards@main") | ||
|
||
|
||
## ----eval=FALSE---------------------------------------------------------------------- | ||
## ----eval=FALSE------------------------ | ||
## ## Crearun nuevo proyecto | ||
## usethis::create_project("Su_Usuario.github.io") | ||
|
||
|
||
## ----eval=FALSE---------------------------------------------------------------------- | ||
## ----eval=FALSE------------------------ | ||
## ## Configurar Git y GitHub | ||
## usethis::use_git() # Reiniciar la sesión | ||
## usethis::use_github() | ||
|
||
|
||
## ----eval=FALSE---------------------------------------------------------------------- | ||
## ----eval=FALSE------------------------ | ||
## ## Elegir solo una plantilla (la que más te guste) | ||
## postcards::create_postcard(template = "jolla") | ||
## postcards::create_postcard(template = "jolla-blue") | ||
|
@@ -156,7 +156,7 @@ | |
## postcards::create_postcard(template = "solana") | ||
|
||
|
||
## ----eval=FALSE---------------------------------------------------------------------- | ||
## ----eval=FALSE------------------------ | ||
## ## Desplegar la página GitHub | ||
## rmarkdown::render("index.Rmd") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters