-
Notifications
You must be signed in to change notification settings - Fork 0
Fixes package #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
6f96ad2
be6dd88
92cf0da
3b67163
6537bb0
5904972
f22a2c7
fb62470
08b35ad
b9d50bb
f3b12ca
849d140
9d0edfe
2999235
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this something we want to have stored in the git repository? |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,13 +22,16 @@ format: | |
| light: [default, custom.scss, custom_light.scss] | ||
| gfm: | ||
| html-math-method: webtex | ||
| typst: | ||
| pdf: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can I ask for the rationale behind moving away from typst? I haven't been involved in this discussion so I am curious. |
||
| toc: true | ||
| section-numbering: 1.1.1 | ||
| df-print: default | ||
| margin: | ||
| x: 2cm | ||
| y: 2cm | ||
| number-depth: 3 | ||
| # typst: | ||
| # toc: true | ||
| # section-numbering: 1.1.1 | ||
| # df-print: default | ||
| # margin: | ||
| # x: 2cm | ||
| # y: 2cm | ||
| filters: | ||
| - foldable_code.lua | ||
| --- | ||
|
|
@@ -126,8 +129,6 @@ namespace_table <- val.report:::prepare_namespace_table(d_riskmetric) | |
| ``` | ||
|
|
||
|
|
||
| ::: {.content-visible when-format="html"} | ||
|
|
||
| ```{r prepare_tables_dependencies} | ||
| deps <- d_riskmetric$dependencies | ||
| deps$package <- gsub("\\n", " ", deps$package) | ||
|
|
@@ -143,8 +144,6 @@ dependencies_table <- htmltools::div( | |
| ) | ||
| ``` | ||
|
|
||
| ::: | ||
|
|
||
| ```{r prepare_tables_reverse_dependencies} | ||
| reverse_dependencies <- paste(d_riskmetric$reverse_dependencies, collapse = ", ") | ||
| ``` | ||
|
|
@@ -253,7 +252,6 @@ The package uses `r if ("license" %in% names(d_riskmetric) && !is.null(d_riskmet | |
|
|
||
| ## Code checks | ||
|
|
||
| Code checks for this package are: | ||
|
|
||
| ```{r r_cmd_check, eval=!is_risk_error(d_riskmetric[["r_cmd_check"]])} | ||
| d_riskmetric[["r_cmd_check"]] | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we use
&&here instead of||? Ifparams$assessment_pathis notNULLbut it is string of length 0 the expression evaluates toTRUEwhich throws an error innormalizePath.