Remove cutoff package dependency (removed from CRAN) - #302
Remove cutoff package dependency (removed from CRAN)#302ShixiangWang with Copilot wants to merge 6 commits into
cutoff package dependency (removed from CRAN)#302Conversation
The `cutoff` package was removed from CRAN, causing the CI build to fail when resolving dependencies. The package was loaded but never actually used in the tutorial code (the cutoff calculation uses base R's median()). Closes #301
cutoff package dependency (removed from CRAN)
✅ QMD Format Check
|
|
考虑该包使用github 的版本依赖 https://github.com/choisy/cutoff ,以尽量保持对现有文档教程的不变动和支持? @copilot |
1 similar comment
|
考虑该包使用github 的版本依赖 https://github.com/choisy/cutoff ,以尽量保持对现有文档教程的不变动和支持? @copilot |
…s removed from CRAN Instead of removing the cutoff dependency entirely, switch to installing from GitHub to keep the tutorial unchanged. Closes #301
Done — switched to |
✅ QMD Format Check
|
|
@copilot 为什么action失败,能解决不? |
These packages were also removed from CRAN, causing pak to fail when resolving the dependency chain: fastStat → set → do → tmcn.
CI 失败的原因已经变了——不再是 已在 |
✅ QMD Format Check
|
|
@copilot 还是失败了 |
…motes pak only resolves Remotes for packages listed as direct dependencies. Adding these as Imports ensures pak looks for them in our Remotes field instead of failing to find them on CRAN.
问题是 已将 |
✅ QMD Format Check
|
|
@copilot 还是有问题,彻底解决下? |
…mpatible with current data.table
CI 失败原因是 由于 |
✅ QMD Format Check
|
📊 Quarto Render PreviewThe new or modified Quarto files have been rendered and are available as artifacts. 🔗 View and Download Rendered Files Click the link above, scroll to the "Artifacts" section at the bottom of the page, and download Modified files: |
The
cutoffpackage was removed from CRAN, causingpak::lockfile_createto fail during CI dependency resolution.The package was loaded in
Hiplot/155-risk-plot.qmdbut never actually called — the cutoff calculation usesmedian()from base R.cutofffromDESCRIPTIONimportslibrary(cutoff)call, and dependency list entry fromHiplot/155-risk-plot.qmdand its.zh.qmdcounterpart