Skip to content
项目

关于

This repository hosts the source code for the website tidy-finance.org

商业与金融

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Tidy Finance

This is the repository for the website tidy-finance.org combining

The code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International CC BY-NC-SA 4.0. The website was rendered using quarto and it is hosted via GitHub Pages.

Tidy Finance with R and Tidy Finance with Python were released as print versions via Chapman & Hall / CRC. Consider the following distribution channels to support the authors.

Rendering locally

R packages come from uvr (uvr.toml, uvr.lock), Python packages from uv (pyproject.toml, uv.lock). In a terminal, in this folder:

uvr r install 4.6.1                 # once: installs R (pinned in .r-version)
uvr sync                            # R packages into .uvr/library
uv sync                             # Python and its packages into .venv/
eval "$(uvr activate --emit sh)"    # puts uvr's R on the PATH
unset R_ENVIRON_USER                # activation blanks it, which hides the project .Renviron (credentials)
uv run quarto render                # runs Quarto with the Python in .venv

On Windows (PowerShell), activate with uvr activate --emit powershell | Out-String | Invoke-Expression; Remove-Item Env:R_ENVIRON_USER -ErrorAction SilentlyContinue instead of the eval and unset lines. If uvr r install fails with "Access is denied", close Positron and R, delete the leftover folders in $HOME\.uvr\r-versions, and try again; if endpoint protection keeps blocking it, set the user environment variable UVR_R_INSTALL_DIR to a folder outside your user profile.

Add R packages with uvr add pkg and commit uvr.toml and uvr.lock.

The site is rendered with Quarto 1.11.9; _quarto.yml requires at least that version (quarto --version). Commit docs/ and _freeze/ after rendering.

To find the R package tidyfinance, please consider this GitHub repository.

探索相关项目

加载中…