Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ATpoint committed Nov 13, 2023
0 parents commit cb69f6c
Show file tree
Hide file tree
Showing 16 changed files with 755 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git*
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches:
- '**'
paths-ignore:
- '*.md'
- '*.MD'
- '*.ignore'
- LICENSE

jobs:

circtools:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

# Run everything via the Bioconductor docker image as it has almost all dependencies preinstalled
- name: devtools-check-docker
run: |
bioc_install='BiocManager::install(c("limma", "ggplot2"))'
dev_check='devtools::check("/circtools/")'
dev_doc='devtools::document("/circtools/")'
testthat='testthat::test_file("/circtools/tests/testthat/all_tests.R")'
docker run -v "$(pwd)":"/circtools/" bioconductor/bioconductor_docker:RELEASE_3_18 Rscript --vanilla -e "${bioc_install}; ${dev_check}; ${dev_doc}; ${testthat}"
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*.RProj
*.Rproj
*.rproj
..R*
gitHeadInfo.gin
R/.Rapp.history
*.DS_*
.Rproj.user
.Rhistory
qmethod.Rproj
~*
*.tar.gz
15 changes: 15 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Package: circtools
Title: Functions related to analysis of circular data in R
Version: 0.0.9
Description: Functions related to analysis of circular data in R.
Author: Alexander Bender [cut,cre]
Maintainer: Alexander Bender <[email protected]>
License: LGPL (>=2)
Encoding: UTF-8
Imports:
limma, stats, methods
Suggests:
ggplot2
URL: https://github.com/atpoint/circtools
BugReports: https://github.com/atpoint/circtools/issues
RoxygenNote: 7.2.3
18 changes: 18 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by roxygen2: do not edit by hand

export(circular_density)
export(circular_distance)
export(circular_distance_reference)
export(circular_intersect)
export(make_data)
export(make_design)
export(rad2period)
export(run_cosinor)
importFrom(limma,eBayes)
importFrom(limma,lmFit)
importFrom(limma,topTable)
importFrom(methods,is)
importFrom(methods,new)
importFrom(stats,density)
importFrom(stats,model.matrix)
importFrom(stats,rnorm)
Loading

0 comments on commit cb69f6c

Please sign in to comment.