-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into vreijs/vectorization
- Loading branch information
Showing
130 changed files
with
8,614 additions
and
106,574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
^README\.Rmd$ | ||
^CRAN-RELEASE$ | ||
^cran-comments\.md$ | ||
^Meta$ | ||
^doc$ | ||
external | ||
^external$ | ||
^revdep$ | ||
|
||
^\.travis\.yml$ | ||
^appveyor\.yml$ | ||
^codecov\.yml$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
docker | ||
^\.github$ | ||
^CRAN-SUBMISSION$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# saveRDS(c("BCE", "Ephemeris", "JPL", "Moshier", "ephemerides", "ephemeris", "repos", "swephRdata"), file="swephR.rds") | ||
Rd_files <- vignettes <- R_files <- description <- | ||
list(encoding = "UTF-8", | ||
language = "en", | ||
dictionaries = c("en_stats", "swephR")) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
# | ||
# NOTE: This workflow is overkill for most R packages and | ||
# check-standard.yaml is likely a better choice. | ||
# usethis::use_github_action("check-standard") will install it. | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: R-CMD-check | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- {os: macos-latest, r: 'release'} | ||
|
||
- {os: windows-latest, r: 'release'} | ||
|
||
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} | ||
- {os: ubuntu-latest, r: 'release'} | ||
- {os: ubuntu-latest, r: 'oldrel'} | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
R_KEEP_PKG_SOURCE: yes | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
http-user-agent: ${{ matrix.config.http-user-agent }} | ||
use-public-rspm: true | ||
extra-repositories: https://rstub.r-universe.dev | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::rcmdcheck | ||
needs: check | ||
|
||
- uses: r-lib/actions/check-r-package@v2 | ||
with: | ||
upload-snapshots: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
name: pkgdown | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: ubuntu-latest | ||
# Only restrict concurrency for non-PR jobs | ||
concurrency: | ||
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
extra-repositories: https://rstub.r-universe.dev | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::pkgdown, local::. | ||
needs: website | ||
|
||
- name: Build site | ||
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) | ||
shell: Rscript {0} | ||
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected] | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
folder: docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: test-coverage | ||
|
||
jobs: | ||
test-coverage: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
extra-repositories: https://rstub.r-universe.dev | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::covr | ||
needs: coverage | ||
|
||
- name: Test coverage | ||
run: | | ||
covr::codecov( | ||
quiet = FALSE, | ||
clean = FALSE, | ||
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package") | ||
) | ||
shell: Rscript {0} | ||
|
||
- name: Show testthat output | ||
if: always() | ||
run: | | ||
## -------------------------------------------------------------------- | ||
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true | ||
shell: bash | ||
|
||
- name: Upload test results | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage-test-failures | ||
path: ${{ runner.temp }}/package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
doc | ||
^doc$ | ||
Meta | ||
inst/doc | ||
.Rhistory | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "external/swisseph"] | ||
path = external/swisseph | ||
url = https://github.com/aloistr/swisseph.git |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
Package: swephR | ||
Type: Package | ||
Title: High Precision Swiss Ephemeris | ||
Version: 0.1.0 | ||
Version: 0.3.1.1 | ||
Authors@R: c( | ||
person("Ralf", "Stubner", email = "[email protected]", role = c("aut", "cre")), | ||
person("Victor", "Reijs", role = "aut"), | ||
person("Authors of the Swiss Ephemeris", role = "aut")) | ||
Description: The Swiss Ephemeris is a high precision ephemeris based upon the | ||
DE431 ephemerides from NASA's JPL. It covers the time range 13201 BC to | ||
AD 17191. This package uses the semi-analytic theory by Steve Moshier. | ||
person("Authors and copyright holder of the Swiss Ephemeris", role = c("aut", "cph"))) | ||
Description: The Swiss Ephemeris (version 2.10.03) is a high precision ephemeris based upon the | ||
DE431 ephemerides from NASA's JPL. It covers the time range 13201 BCE to | ||
17191 CE. This package uses the semi-analytic theory by Steve Moshier. | ||
For faster and more accurate calculations, the compressed Swiss Ephemeris | ||
data is available in the 'swephRdata' package. To access this data package, | ||
run 'install.packages("swephRdata", repos = "https://rstub.github.io/drat/", | ||
run 'install.packages("swephRdata", repos = "https://rstub.r-universe.dev", | ||
type = "source")'. The size of the 'swephRdata' package is approximately | ||
115 MB. The user can also use the original JPL DE431 data. | ||
License: AGPL | file LICENSE | ||
License: AGPL | ||
Imports: Rcpp (>= 0.12.18) | ||
LinkingTo: Rcpp | ||
RoxygenNote: 6.1.1 | ||
RoxygenNote: 7.2.3 | ||
Suggests: | ||
testthat, | ||
swephRdata, | ||
knitr, | ||
rmarkdown | ||
Encoding: UTF-8 | ||
URL: https://github.com/rstub/swephR/, http://www.astro.com/swisseph/ | ||
URL: https://github.com/rstub/swephR/, https://rstub.github.io/swephR/, http://www.astro.com/swisseph/ | ||
BugReports: https://github.com/rstub/swephR/issues/ | ||
Additional_repositories: https://rstub.github.io/drat | ||
Additional_repositories: https://rstub.r-universe.dev | ||
VignetteBuilder: knitr | ||
LazyData: true | ||
Language: en-US |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.