Browse Source

Primer commit

main
Costa 2 years ago
commit
e88abb5cb5
4 changed files with 42 additions and 0 deletions
  1. +11
    -0
      DESCRIPTION
  2. +1
    -0
      NAMESPACE
  3. +18
    -0
      R/hello.R
  4. +12
    -0
      man/hello.Rd

+ 11
- 0
DESCRIPTION

@ -0,0 +1,11 @@
Package: CitFuns
Type: Package
Title: What the Package Does (Title Case)
Version: 0.1.0
Author: Who wrote it
Maintainer: The package maintainer <yourself@somewhere.net>
Description: More about what it does (maybe more than one line)
Use four spaces when indenting paragraphs within the Description.
License: What license is it under?
Encoding: UTF-8
LazyData: true

+ 1
- 0
NAMESPACE

@ -0,0 +1 @@
exportPattern("^[[:alpha:]]+")

+ 18
- 0
R/hello.R

@ -0,0 +1,18 @@
# Hello, world!
#
# This is an example function named 'hello'
# which prints 'Hello, world!'.
#
# You can learn more about package authoring with RStudio at:
#
# http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
# Install Package: 'Ctrl + Shift + B'
# Check Package: 'Ctrl + Shift + E'
# Test Package: 'Ctrl + Shift + T'
hello <- function() {
print("Hello, world! Now")
}

+ 12
- 0
man/hello.Rd

@ -0,0 +1,12 @@
\name{hello}
\alias{hello}
\title{Hello, World!}
\usage{
hello()
}
\description{
Prints 'Hello, world!'.
}
\examples{
hello()
}

Loading…
Cancel
Save