commit e88abb5cb5aec454ce894bef74eaa5a13dfc20f3 Author: Costa <47926492N@ICO.SCS.local> Date: Thu Feb 3 11:32:24 2022 +0100 Primer commit diff --git a/DESCRIPTION b/DESCRIPTION new file mode 100644 index 0000000..f4c0c6d --- /dev/null +++ b/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 +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 diff --git a/NAMESPACE b/NAMESPACE new file mode 100644 index 0000000..d75f824 --- /dev/null +++ b/NAMESPACE @@ -0,0 +1 @@ +exportPattern("^[[:alpha:]]+") diff --git a/R/hello.R b/R/hello.R new file mode 100644 index 0000000..a9528d4 --- /dev/null +++ b/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") +} diff --git a/man/hello.Rd b/man/hello.Rd new file mode 100644 index 0000000..0fa7c4b --- /dev/null +++ b/man/hello.Rd @@ -0,0 +1,12 @@ +\name{hello} +\alias{hello} +\title{Hello, World!} +\usage{ +hello() +} +\description{ +Prints 'Hello, world!'. +} +\examples{ +hello() +}