Skip to content

Commit 6cee43f

Browse files
cleanup
1 parent fae6eb1 commit 6cee43f

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.Rhistory

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
) |>
2-
gt::opt_all_caps() |>
3-
gt::fmt_markdown() |>
4-
gt::tab_header(
5-
title = gt::md("<span style='color:#0B0B45'><b>Operative Report:</b></span>"),
6-
subtitle = gt::md("<span style='color:#0B0B45'><i>Excision of Dorsal Ganglion, Right Wrist</i></span>")
7-
) |>
8-
gt::tab_options(
9-
table.width = gt::pct(100),
101
heading.title.font.size = gt::px(24),
112
heading.subtitle.font.size = gt::px(21),
123
heading.align = "left",
@@ -510,3 +501,12 @@ gt_pcs2(pcs("0016070")) |> gt::tab_options(column_labels.hidden = FALSE) |> gt::
510501
gt_pcs2(pcs("0016070")) |> gt::tab_options(column_labels.hidden = FALSE) |> gt::cols_label(name = gt::html(vert_lab("Name")))
511502
gt_pcs2(pcs("0016070")) |> gt::tab_options(column_labels.hidden = FALSE) |> gt::cols_label(name = gt::md(vert_lab("Name")))
512503
pcs("0016070") |> gt::tab_options(column_labels.hidden = FALSE) |> gt::cols_label(name = gt::md(vert_lab("Name"))) |> gt::css()
504+
devtools::load_all(".")
505+
pcs_code("0G9")
506+
pcs_code2("0G9")
507+
# pak::pak("rconsortium/S7")
508+
#
509+
library(S7)
510+
pcs_code2("")
511+
nzchar("")
512+
nzchar(" ")

R/pcs_build_code.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ pcs_code2 <- function(x = NULL) {
148148

149149
xs <- .pcs_finisher(xs)
150150

151-
class(xs) <- c("pcs_code", "list")
151+
class(xs) <- unique(c("pcs", class(xs)))
152152

153153
return(xs)
154154
}
@@ -205,9 +205,7 @@ pcs_code2 <- function(x = NULL) {
205205
#' @noRd
206206
.pcs_system <- function(x) {
207207

208-
stopifnot(
209-
"`x` hasn't passed through `.pcs_section()`" = inherits(x, "pcs_section")
210-
)
208+
# stopifnot("`x` hasn't passed through `.pcs_section()`" = inherits(x, "pcs_section"))
211209

212210
step <- 1
213211
x$opt <- system <- systems(

pkgdown/_pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ template:
99
bslib:
1010
font_scale: 1.1
1111
line_height: 2
12-
base_font: {google: "IBM Plex Sans"}
12+
base_font: {google: "Roboto Condensed"}
1313
heading_font: {google: "Atkinson Hyperlegible"}
1414
code_font: "Hack, mono"
1515
includes:

0 commit comments

Comments
 (0)