Skip to content

Commit 21f7d00

Browse files
committed
fix: fix github actions
1 parent 83bb17d commit 21f7d00

File tree

6 files changed

+67
-41
lines changed

6 files changed

+67
-41
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
33
on:
44
push:
5-
branches: [main, master]
5+
branches: [main]
66
pull_request:
7-
branches: [main, master]
7+
branches: [main]
88

99
name: R-CMD-check
1010

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ License: MIT + file LICENSE
99
Encoding: UTF-8
1010
LazyData: true
1111
Roxygen: list(markdown = TRUE)
12-
RoxygenNote: 7.3.0
12+
RoxygenNote: 7.3.1
1313
Suggests:
1414
covr,
1515
knitr,
@@ -25,4 +25,4 @@ VignetteBuilder: knitr
2525
URL: https://github.com/DiogoRibeiro7/myrpackage, https://diogoribeiro7.github.io/myrpackage/
2626
BugReports: https://github.com/DiogoRibeiro7/myrpackage/issues
2727
Depends:
28-
R (>= 3.5)
28+
R (>= 4.0)

LICENSE

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,2 @@
1-
MIT License
2-
3-
Copyright (c) 2025 Diogo Ribeiro
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
YEAR: 2025
2+
COPYRIGHT HOLDER: Diogo Ribeiro

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MIT License
2+
3+
Copyright (c) 2025 Diogo Ribeiro
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

man/goodbye.Rd

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
\name{goodbye}
22
\alias{goodbye}
33
\title{Say Goodbye}
4-
\usage{goodbye()}
5-
\description{This function prints a friendly farewell.}
6-
\examples{goodbye()}
4+
\usage{
5+
goodbye(name = "world", language = "english", exclamation = TRUE)
6+
}
7+
\arguments{
8+
\item{name}{Character string. The name to bid farewell to. Default is "world".}
9+
10+
\item{language}{Character string. The language for the farewell.
11+
Supported languages: "english" (default), "spanish", "french", "portuguese".}
12+
13+
\item{exclamation}{Logical. Whether to add an exclamation mark. Default is TRUE.}
14+
}
15+
\value{
16+
A character string containing the farewell message.
17+
}
18+
\description{
19+
This function prints a friendly farewell. It can be customized with
20+
different names and languages.
21+
}
22+
\examples{
23+
goodbye()
24+
goodbye("R Users")
25+
goodbye("amigos", language = "spanish")
26+
goodbye("mes amis", language = "french", exclamation = FALSE)
27+
}
28+
\seealso{
29+
\code{\link[myrpackage]{hello}} for a greeting function
30+
}

man/hello.Rd

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
\name{goodbye}
2-
\alias{goodbye}
3-
\title{Say Goodbye}
1+
\name{hello}
2+
\alias{hello}
3+
\title{Say Hello}
44
\usage{
5-
goodbye(name = "world", language = "english", exclamation = TRUE)
5+
hello(name = "world", language = "english", exclamation = TRUE)
66
}
77
\arguments{
8-
\item{name}{Character string. The name to bid farewell to. Default is "world".}
8+
\item{name}{Character string. The name to greet. Default is "world".}
99

10-
\item{language}{Character string. The language for the farewell.
10+
\item{language}{Character string. The language for the greeting.
1111
Supported languages: "english" (default), "spanish", "french", "portuguese".}
1212

1313
\item{exclamation}{Logical. Whether to add an exclamation mark. Default is TRUE.}
1414
}
1515
\value{
16-
A character string containing the farewell message.
16+
A character string containing the greeting.
1717
}
1818
\description{
19-
This function prints a friendly farewell. It can be customized with
19+
This function prints a friendly greeting. It can be customized with
2020
different names and languages.
2121
}
2222
\examples{
23-
goodbye()
24-
goodbye("R Users")
25-
goodbye("amigos", language = "spanish")
26-
goodbye("mes amis", language = "french", exclamation = FALSE)
23+
hello()
24+
hello("R Users")
25+
hello("amigos", language = "spanish")
26+
hello("mes amis", language = "french", exclamation = FALSE)
2727
}
2828
\seealso{
29-
\code{\link{hello}} for a greeting function
29+
\code{\link[myrpackage]{goodbye}} for a farewell function
3030
}

0 commit comments

Comments
 (0)