You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Taha Ahmed 6c72c0f69e Added functions to convert arcminutes and arcseconds <-> degrees
Very simple stuff. Would have been nice if there was an easy
way to get arcminutes and arcseconds notation to/from degrees,
but that's a whole other can of worms. No such R packages exist
as far as I can tell. Where are all the astronomy peeps?
8 months ago
R Added functions to convert arcminutes and arcseconds <-> degrees 8 months ago
man Added functions to convert arcminutes and arcseconds <-> degrees 8 months ago
.gitignore Refactored code into a rudimentary R package. 7 years ago
DESCRIPTION Added functions to convert arcminutes and arcseconds <-> degrees 8 months ago
LICENSE Added function to format numbers with their SI unit prefix 8 months ago
NAMESPACE Added functions to convert arcminutes and arcseconds <-> degrees 8 months ago
README.md Added functions to convert arcminutes and arcseconds <-> degrees 8 months ago
common.Rproj Refactored code into a rudimentary R package. 7 years ago

README.md

My collection of R utility functions

Includes common utilities and converters as well as some functions tailored heavily towards my own use cases.

If you find something you like, feel free to copy it and use it for your own work. If you spot a bug, open an issue or let me know (with my appreciation!).

Note that the package is named common, despite the repository being name R-common. Sorry about that (this was one of the very first packages I created, and I haven't gotten around to fixing the naming mismatch yet).

This repository is mirrored on git.solarchemist.se.

Install this package

To use this package, install it from this repo:

install.packages("remotes")
remotes::install_github("solarchemist/R-common")

Develop this package

Check out the source code from this repo:

git clone https://github.com/solarchemist/R-common.git

I suggest the following package rebuild procedure:

  • Run devtools::check(). Should complete with no warnings, errors or notes:
── R CMD check results ─────────────────────────────────────── common 0.1.2 ────
Duration: 8.1s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔
  • As necessary, run devtools::document() to update the documentation.

Contributions are welcome, no matter whether code, bug reports or suggestions!