-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Chappter 11 notes. Add DESCRIPTION example file and fusen_tuto…
…rial.R script
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Package: libminer | ||
Title: Explore Your R Libraries | ||
Version: 0.0.0.9000 | ||
Authors@R: | ||
person("Ricardo", "Serrano", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "")) | ||
Description: Provides functions for learning about your R libraries, and the packages you have installed. | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.3 | ||
URL: https://github.com/rserran/libminer, https://rserran.github.io/libminer/ | ||
BugReports: https://github.com/rserran/libminer/issues | ||
Suggests: | ||
testthat (>= 3.0.0) | ||
Config/testthat/edition: 3 | ||
Imports: | ||
fs (>= 1.5) |
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
17 changes: 17 additions & 0 deletions
17
Reproducible_pipelines_book_club/Meeting_07/fusen_tutorial.R
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Building reproducible analytical pipelines with R | ||
# Chapter 11 - Packaging your code | ||
|
||
# load packages | ||
if (!require("fusen")){ | ||
install.packages("fusen") | ||
library(fusen) | ||
} | ||
|
||
# quickstart | ||
fusen::create_fusen(path = "fusen.quickstart", | ||
template = "minimal") | ||
|
||
# set and try pkgdown documentation website | ||
usethis::use_pkgdown() | ||
pkgdown::build_site() | ||
|