Skip to content

Commit 7bc57fb

Browse files
committed
fix: fix and improvemets
1 parent 69832d0 commit 7bc57fb

File tree

4 files changed

+52
-3
lines changed

4 files changed

+52
-3
lines changed

NAMESPACE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
export(hello)
1+
# Generated by roxygen2: do not edit by hand
2+
23
export(goodbye)
4+
export(hello)

_pkgdown.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ reference:
5151
- title: "Package Information"
5252
desc: "Documentation about the package itself"
5353
contents:
54-
- "myrpackage-package"
55-
- "myrpackage-lifecycle"
54+
- matches("myrpackage-package")
55+
- matches("myrpackage-lifecycle")
5656

5757
home:
5858
sidebar:

man/myrpackage-lifecycle.Rd

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
\name{myrpackage-lifecycle}
2+
\alias{myrpackage-lifecycle}
3+
\title{Life cycle badges for myrpackage functions}
4+
\description{
5+
myrpackage uses lifecycle badges to help users understand the stability of
6+
the functions and features it provides.
7+
8+
\itemize{
9+
\item \code{stable}: The function is considered stable and will not undergo major changes.
10+
\item \code{experimental}: The function is in early stages of development and may change in future versions.
11+
\item \code{deprecated}: The function is deprecated and will be removed in a future version.
12+
\item \code{superseded}: The function has been replaced by a newer alternative.
13+
}
14+
}
15+
\keyword{internal}

man/myrpackage-package.Rd

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
\name{myrpackage-package}
2+
\alias{myrpackage-package}
3+
\alias{myrpackage}
4+
\docType{package}
5+
\title{
6+
A Multilingual Greeting Package
7+
}
8+
\description{
9+
A friendly R package that provides greeting and farewell functions in multiple languages.
10+
This package demonstrates proper R package structure, documentation, and test practices.
11+
It is designed to be a simple but complete example of R package development.
12+
}
13+
\section{Main functions}{
14+
\itemize{
15+
\item \code{\link{hello}} - Say hello in various languages
16+
\item \code{\link{goodbye}} - Say goodbye in various languages
17+
}
18+
}
19+
\section{Supported languages}{
20+
\itemize{
21+
\item English (default)
22+
\item Spanish
23+
\item French
24+
\item Portuguese
25+
\item German
26+
\item Italian
27+
}
28+
}
29+
\author{
30+
Diogo Ribeiro <dfr@esmad.ipp.pt>
31+
}
32+
\keyword{package}

0 commit comments

Comments
 (0)