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
[](https://codecov.io/gh/DiogoRibeiro7/myrpackage?branch=main)
A minimal R package scaffold, structured for publication on [CRAN](https://cran.r-project.org/), with boilerplate files and metadata to begin development immediately.
11
+
A friendly R package that provides greeting and farewell functions in multiple languages.
12
12
13
13
## Installation
14
14
@@ -41,22 +41,49 @@ hello("amigos", language = "spanish")
41
41
hello("mes amis", language="french")
42
42
#> Bonjour, mes amis!
43
43
44
+
# Say hello with capitalization
45
+
hello("r users", capitalize=TRUE)
46
+
#> Hello, R users!
47
+
44
48
# Say goodbye
45
49
goodbye()
46
50
#> Goodbye, world!
47
51
48
52
goodbye("friends", language="portuguese")
49
53
#> Adeus, friends!
54
+
55
+
# Customize punctuation
56
+
goodbye("everyone", exclamation=FALSE)
57
+
#> Goodbye, everyone.
50
58
```
51
59
52
60
## Features
53
61
54
-
- 🌐 Multilingual greeting and farewell functions
62
+
- 🌐 Multilingual greeting and farewell functions in 6 languages
63
+
- 🔠 Text formatting options including capitalization
55
64
- 📦 Proper R package structure
56
65
- 📄 Comprehensive documentation
57
66
- 🧪 Complete test coverage
58
67
- 🔄 Continuous Integration workflow
59
68
69
+
## Supported Languages
70
+
71
+
- English (default)
72
+
- Spanish
73
+
- French
74
+
- Portuguese
75
+
- German
76
+
- Italian
77
+
78
+
## Function Options
79
+
80
+
Both `hello()` and `goodbye()` support these parameters:
81
+
82
+
-`name`: Who to greet (default: "world")
83
+
-`language`: Language to use (default: "english")
84
+
-`exclamation`: Whether to add an exclamation mark (default: TRUE)
85
+
-`capitalize`: Whether to capitalize the name (default: FALSE)
0 commit comments