Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairify
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UMR G-EAU
fairify
Commits
8e5f46f4
Commit
8e5f46f4
authored
1 year ago
by
David Dorchies
Browse files
Options
Downloads
Patches
Plain Diff
docs(list_reports): fix messy parameter
Refs
#4
parent
f7366e4c
No related branches found
No related tags found
No related merge requests found
Pipeline
#174667
passed
1 year ago
Stage: checks
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
R/list_reports.R
+1
-4
1 addition, 4 deletions
R/list_reports.R
R/render_reports.R
+2
-3
2 additions, 3 deletions
R/render_reports.R
man/list_reports.Rd
+1
-5
1 addition, 5 deletions
man/list_reports.Rd
man/render_reports.Rd
+3
-3
3 additions, 3 deletions
man/render_reports.Rd
with
7 additions
and
15 deletions
R/list_reports.R
+
1
−
4
View file @
8e5f46f4
#' List reports with headers
#'
#' @param reports_dir [character] path for the reports
#' @param reports [character] subfolders containing each report. By default,
#' reports are folders in `reports_dir` that match `pattern`
#' @param pattern [character] regex pattern for filtering report directories in
#' `reports_dir` folder (ignored if `reports` is provided)
#' @param reports [character] subfolders containing each report.
#' @param index [character] name of the report index file
#'
#' @return A [data.frame] containing one row by report found. Each row contain the following columns:
...
...
This diff is collapsed.
Click to expand it.
R/render_reports.R
+
2
−
3
View file @
8e5f46f4
#' Render reports
#' Render
fairify
reports
#'
#' @param reports_dir [character] path for the reports
#' @param reports [character] subfolders containing each report
#' @inheritParams list_reports
#' @param publish_dir [character] rendering output path relatively to the report
#' folder which is in format `"./reports/my_report"`
#' @param output_format output format, see [bookdown::render_book]. Only
...
...
This diff is collapsed.
Click to expand it.
man/list_reports.Rd
+
1
−
5
View file @
8e5f46f4
...
...
@@ -13,13 +13,9 @@ list_reports(
\arguments{
\item{reports_dir}{\link{character} path for the reports}
\item{reports}{\link{character} subfolders containing each report. By default,
reports are folders in \code{reports_dir} that match \code{pattern}}
\item{reports}{\link{character} subfolders containing each report.}
\item{index}{\link{character} name of the report index file}
\item{pattern}{\link{character} regex pattern for filtering report directories in
\code{reports_dir} folder (ignored if \code{reports} is provided)}
}
\value{
A \link{data.frame} containing one row by report found. Each row contain the following columns:
...
...
This diff is collapsed.
Click to expand it.
man/render_reports.Rd
+
3
−
3
View file @
8e5f46f4
...
...
@@ -3,7 +3,7 @@
\name{render_report}
\alias{render_report}
\alias{render_reports}
\title{Render reports}
\title{Render
fairify
reports}
\usage{
render_report(
input,
...
...
@@ -41,7 +41,7 @@ used (possibly not specified, either, in which case a directory name
\item{reports_dir}{\link{character} path for the reports}
\item{reports}{\link{character} subfolders containing each report}
\item{reports}{\link{character} subfolders containing each report
.
}
\item{publish_dir}{\link{character} rendering output path relatively to the report
folder which is in format \code{"./reports/my_report"}}
...
...
@@ -50,7 +50,7 @@ folder which is in format \code{"./reports/my_report"}}
\code{NULL}, this function is used for side effect.
}
\description{
Render reports
Render
fairify
reports
}
\examples{
# Create a fairify project in a temporary folder
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment