statistikZH / statR

ZH-color-scheme & theme_stat template for ggplot2.
https://statistikzh.github.io/statR/
GNU General Public License v3.0
15 stars 1 forks source link

statR version 2.4.0 #60

Closed Thomas-Caspar-Fischer closed 7 months ago

Thomas-Caspar-Fischer commented 7 months ago
Thomas-Caspar-Fischer commented 7 months ago

The issue related to staged installation has been solved on RStudio Server and Windows systems. The config store file is allocated, and the default configuration is being loaded correctly. The checks are still failing, though.

Apparently the default config file is not being found during final installation in the GitHub action checks, and I'm not sure why.

Thomas-Caspar-Fischer commented 7 months ago

Absolut starke Arbeit @Thomas-Caspar-Fischer! Finde die Doku sehr, sehr gut aufgebaut und zugänglich. Nur kleine Typos/Grammatik-Hickups gefunden.

Falls es für dich funktioniert, gerne ignorieren: Ich kann leider weder die Vignette noch die Pages builden. > devtools::build_site() Error: ! in callr subprocess. Caused by error inpurrr::map(topics, build_reference_topic, pkg = pkg, lazy = lazy, …: ! In index: 1. ℹ See$stdoutfor standard output. Type .Last.error to see the more details.

Das Problem besteht wohl schon eine Weile. Problematisch, weil die pkgdown-Seite den Stand von Version 2.2 reflektiert.

pkgdown::build_site() # scheitert pkgdown::build_site(examples = FALSE) # läuft

Es besteht noch ein weiteres Problem. Das pkgdown template wird vermutlich nicht verwendet (Fehlermeldung im parenttrace). Ich schau mir das noch an. Update: devtools::build_site() läuft jetzt durch, devtools::build_vignettes() auch. Lösung war, den PATH-Eintrag im _pkgdown.yml zu löschen. Die Files im pkgdown/templates Verzeichnis werden auch so verwendet. Die Templates haben aber nicht richtig funktioniert (leere Einträge bei Autoren und Versions-Nr. von pkgdown). Deshalb habe ich die templates temporär in ein Subdirectory gelegt.

Danke für das Review. Die sprachlichen Änderungen habe ich übernommen und das Problem mit pkgdown sollte kurzfristig gelöst sein. Längerfristig müsste man allenfalls die Dateien im pkgdown/templates Verzeichnis überarbeiten.