<commit_before>all: test manuscripts

manuscript-inline.pdf: manuscript-inline.Rmd
	Rscript -e "library(rmarkdown); library(knitr); render('$<', 'pdf_document')"

manuscript-functional.pdf: manuscript-functional.Rmd
	Rscript -e "library(rmarkdown); library(knitr); render('$<', 'pdf_document')"

test:
	Rscript -e "library(testthat); source('make.R'); test_dir('tests/')"

manuscripts: manuscript-inline.pdf manuscript-functional.pdf

.PHONY: all test manuscripts<commit_msg>use the make_tests() function<commit_after>all: test manuscripts

manuscript-inline.pdf: manuscript-inline.Rmd
	Rscript -e "library(rmarkdown); library(knitr); render('$<', 'pdf_document')"

manuscript-functional.pdf: manuscript-functional.Rmd
	Rscript -e "library(rmarkdown); library(knitr); render('$<', 'pdf_document')"

test:
	Rscript -e "library(testthat); source('make.R'); make_tests()"

manuscripts: manuscript-inline.pdf manuscript-functional.pdf

.PHONY: all test manuscripts
{'fraction_non_alphanumeric': 0.15520833333333334, 'fraction_numerical': 0.0, 'mean_word_length': 7.213675213675214, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '385646', 'n_tokens_mistral': 332, 'n_tokens_neox': 318, 'n_words': 66}