Package index
-
weft_setup() - Activate weft for a document
-
fmt_num()fmt_pct()fmt_sci()fmt_no()fmt_word()fmt_count()fmt_ord()fmt_and()fmt_or()fmt_p()fmt_date()fmt_range()fmt_pairs()fmt_ul()fmt_ol()fmt_dl()fmt_cap()fmt_a()fmt_strong()fmt_em() - Formatter functions
-
fmt_unit() - Print a unit alone
-
val_num()val_pct()val_sci()val_p()as.character(<weft_val>)format(<weft_val>)print(<weft_val>)knit_print(<weft_val>)cli_format(<weft_val>)as.data.frame(<weft_val>)`[`(<weft_val>)`[[`(<weft_val>)`[<-`(<weft_val>)`[[<-`(<weft_val>)c(<weft_val>)rep(<weft_val>)unique(<weft_val>)xtfrm(<weft_val>)as.list(<weft_val>)Ops(<weft_val>)chooseOpsMethod(<weft_val>)Math(<weft_val>)Summary(<weft_val>)mean(<weft_val>)median(<weft_val>)drop_units(<weft_val>) - Self-formatting values
-
u() - A number with a unit
-
unit_defaults() - The default units weft registers
-
weft()as.character(<weft>)format(<weft>)print(<weft>)cli_format(<weft>)`[`(<weft>)`[[`(<weft>)sort(<weft>)c(<weft>)`[<-`(<weft>)`[[<-`(<weft>)`is.na<-`(<weft>)knit_print(<weft>) - Resolve markup in a string
-
glue_vec() - Join items into a phrase
-
py_value() - Read a Python value
-
jl_value() - Read a Julia value
-
weft_values_write() - Write a values file
-
arms() - List the arms of every governed span of a document
-
rehearse() - Knit a document under several cases and see which arms they choose
-
last_knit() - The records of the most recent knit
-
dict_file - The dictionary file
-
read_dict() - Read a dictionary file
-
`$`(<weft_dict>)`[[`(<weft_dict>)`[`(<weft_dict>)`$<-`(<weft_dict>)`[[<-`(<weft_dict>)`[<-`(<weft_dict>)`names<-`(<weft_dict>)names(<weft_dict>)as.list(<weft_dict>)print(<weft_dict>) - Methods for a dictionary
-
c(<weft_year>)`[`(<weft_year>)`[[`(<weft_year>)rev(<weft_year>)sort(<weft_year>)unique(<weft_year>)seq(<weft_year>)Summary(<weft_year>)Ops(<weft_year>)Math(<weft_year>)format(<weft_year>)print(<weft_year>) - A year in a dictionary
-
dict_glossary() - The glossary of a dictionary
-
dict_seed() - Find constants a project defines in more than one document
-
dict_vale() - A Vale rule from the dictionary's
avoidfields
-
tar_dict() - Targets for a project dictionary
-
tar_dict_deps() - Add the dictionary entries a pipeline reads to its targets
-
print(<weft_findings>)lints() - Lint a project's documents and scripts without running them
-
checks()print(<weft_checks>) - Checks of one value, compared
-
lint_rules() - The static lints
-
label_seed() - Propose label words from the prose
-
recall_check()print(<weft_recall>) - Check how well the lints reproduce recorded findings
-
gate()print(<weft_gate>) - The commit gate
-
changes()print(<weft_changes>) - What changed in the ledgers since a commit
-
verify()print(<weft_verify>) - Check a project before release
-
status() - What weft has installed in a project
-
use_weft() - Set up a project for weft: every installer, from one plan
-
use_setup() - Activate weft in a project's documents
-
use_quarto() - Set up a Quarto project for weft
-
use_dictionary() - Set up the project dictionary
-
use_hooks() - Install the commit-msg hook that runs the commit gate
-
use_ci() - Write the GitHub Actions workflow that runs weft's static checks
-
use_agent_docs() - Write the agent documents: an AGENTS.md block and a skill
-
agent_docs() - Print the agent documents of the installed package