You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Create the packages directory in blog if it doesn't exist
48
+
mkdir -p blog-repo/packages/myrpackage
49
+
50
+
# Copy the built documentation
51
+
cp -r docs/* blog-repo/packages/myrpackage/
52
+
53
+
# Update navigation and create index page
54
+
cd blog-repo
55
+
56
+
- name: Create package index page
57
+
run: |
58
+
cat > blog-repo/packages/index.md << 'EOF'
59
+
---
60
+
layout: single
61
+
title: "R Packages"
62
+
permalink: /packages/
63
+
author_profile: true
64
+
header:
65
+
image: /assets/images/data_science_1.jpg
66
+
overlay_image: /assets/images/data_science_1.jpg
67
+
teaser: /assets/images/data_science_1.jpg
68
+
show_overlay_excerpt: false
69
+
twitter_image: /assets/images/data_science_1.jpg
70
+
og_image: /assets/images/data_science_1.jpg
71
+
seo_type: article
72
+
---
73
+
74
+
# R Packages
75
+
76
+
This section contains documentation for R packages I've developed.
77
+
78
+
## Available Packages
79
+
80
+
### [myrpackage](/packages/myrpackage/)
81
+
82
+
A multilingual greeting and farewell package that demonstrates proper R package structure, documentation, and testing practices. It provides functions for greeting and saying farewell in multiple languages including English, Spanish, French, Portuguese, German, and Italian.
83
+
84
+
**Features:**
85
+
- Multilingual greetings and farewells
86
+
- Comprehensive documentation and examples
87
+
- Full test coverage
88
+
- Proper R package structure
89
+
- CI/CD pipeline with GitHub Actions
90
+
91
+
[View Documentation →](/packages/myrpackage/)
92
+
EOF
93
+
94
+
- name: Update main navigation
95
+
run: |
96
+
# Create navigation entry for packages if it doesn't exist
97
+
if ! grep -q "packages" blog-repo/_data/navigation.yml; then
0 commit comments