Skip to content

Commit 737c095

Browse files
committed
Correct spelling and update known word-lists
1 parent 75e6b58 commit 737c095

File tree

9 files changed

+40
-41
lines changed

9 files changed

+40
-41
lines changed

.aspell/defaults.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# saveRDS(c("Ephemeris", "JPL", "Moshier", "ephemerides", "ephemeris", "repos", "swephRdata"), file="swephR.rds")
1+
# saveRDS(c("BCE", "Ephemeris", "JPL", "Moshier", "ephemerides", "ephemeris", "repos", "swephRdata"), file="swephR.rds")
22
Rd_files <- vignettes <- R_files <- description <-
33
list(encoding = "UTF-8",
44
language = "en",

.aspell/swephR.rds

4 Bytes
Binary file not shown.

R/RcppExports.R

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -496,16 +496,16 @@ swe_set_topo <- function(longitude, lat, height) {
496496

497497
#' @title Section 10: Sidereal mode functions
498498
#' @name Section10
499-
#' @description Functions to support the determination of siderial information
499+
#' @description Functions to support the determination of sidereal information
500500
#' @seealso Section 10 in \url{http://www.astro.com/swisseph/swephprg.htm}
501501
#' @param iflag Computation flag as integer, many options possible (section 2.3,1)
502-
#' @param sid_mode Siderial mode as integer
502+
#' @param sid_mode Sidereal mode as integer
503503
#' @details
504504
#' \describe{
505505
#' \item{swe_set_sid_mode()}{Set the mode for sidereal computations.}
506506
#' }
507507
#' @param t0 Reference date as double (day)
508-
#' @param ayan_t0 The initial latitude value of the ayanamsha as double (deg)
508+
#' @param ayan_t0 The initial latitude value of the ayanamsa as double (deg)
509509
#' @examples
510510
#' data(SE)
511511
#' swe_set_sid_mode(SE$SIDM_FAGAN_BRADLEY,0,0)
@@ -522,7 +522,7 @@ swe_set_sid_mode <- function(sid_mode, t0, ayan_t0) {
522522
#' \describe{
523523
#' \item{swe_get_ayanamsa_name()}{Get the mode name for sidereal computations.}
524524
#' }
525-
#' @return \code{swe_get_ayanamsa_name} returns name of ayanamse method as string
525+
#' @return \code{swe_get_ayanamsa_name} returns name of ayanamsa method as string
526526
#' @rdname Section10
527527
#' @export
528528
swe_get_ayanamsa_name <- function(sid_mode) {
@@ -555,7 +555,7 @@ swe_get_ayanamsa_ex <- function(jd_et, iflag) {
555555
.Call(`_swephR_get_ayanamsa_ex`, jd_et, iflag)
556556
}
557557

558-
#' @title Section 13: House cusp, ascendant and Medium Coeli calculations
558+
#' @title Section 13: House cusp, ascendant and Medium Coeli calculations
559559
#' @name Section13
560560
#' @description Calculate house cusp, ascendant, Medium Coeli, etc. calculations
561561
#' @seealso Section 13 in \url{http://www.astro.com/swisseph/swephprg.htm}
@@ -607,15 +607,15 @@ swe_house_name <- function(hsys) {
607607
.Call(`_swephR_house_name`, hsys)
608608
}
609609

610-
#' @title Section 14: House position calculations
610+
#' @title Section 14: House position calculations
611611
#' @name Section14
612612
#' @description Calculate house position of a given body.
613613
#' @seealso Section 14 in \url{http://www.astro.com/swisseph/swephprg.htm}
614614
#' @param geolat geographic latitude as double (deg)
615615
#' @param hsys house method, one-letter case sensitive as char
616616
#' @param armc right ascension of the MC as double (deg)
617617
#' @param eps ecliptic obliquity as double (deg)
618-
#' @param xpin longitude and latitude of the given boby as numeric vector (deg)
618+
#' @param xpin longitude and latitude of the given body as numeric vector (deg)
619619
#' @details
620620
#' \describe{
621621
#' \item{swe_house_pos()}{Calculate house position of given body.}
@@ -653,7 +653,7 @@ swe_gauquelin_sector <- function(jd_ut, ipl, starname, ephe_flag, imeth, geopos,
653653
.Call(`_swephR_gauquelin_sector`, jd_ut, ipl, starname, ephe_flag, imeth, geopos, atpress, attemp)
654654
}
655655

656-
#' @title Section 15: Sidereal time
656+
#' @title Section 15: Sidereal time
657657
#' @name Section15
658658
#' @description Calculate the sidereal time (in degrees).
659659
#' @seealso Section 15 in \url{http://www.astro.com/swisseph/swephprg.htm}

README.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ install.packages("swephR")
4646

4747
This package uses the semi-analytic theory by Steve Moshier. For
4848
faster and more accurate calculations, the compressed Swiss Ephemeris
49-
data is available in the 'swephRdata' package. To access this data
49+
data is available in the `swephRdata` package. To access this data
5050
package, run
5151

5252
``` r
5353
install.packages("swephRdata", repos = "https://rstub.github.io/drat/", type = "source")
5454
```
5555

56-
The size of the 'swephRdata' package is approximately 115 MB. The user
56+
The size of the `swephRdata` package is approximately 115 MB. The user
5757
can also use the original JPL DE431 data.
5858

5959
## Example
@@ -97,7 +97,7 @@ result <- swe_fixstar2_ut(starname, jdut, iflag)
9797
result
9898
```
9999

100-
The current R interface is modled after the C interface. It is
100+
The current R interface is modeled after the C interface. It is
101101
therefore often helpful to consult the [general
102102
documentation](https://www.astro.com/swisseph/swisseph.htm) and
103103
[programmer's

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ install.packages("swephR")
3939

4040
This package uses the semi-analytic theory by Steve Moshier. For faster
4141
and more accurate calculations, the compressed Swiss Ephemeris data is
42-
available in the swephRdata package. To access this data package,
42+
available in the `swephRdata` package. To access this data package,
4343
run
4444

4545
``` r
4646
install.packages("swephRdata", repos = "https://rstub.github.io/drat/", type = "source")
4747
```
4848

49-
The size of the swephRdata package is approximately 115 MB. The user
49+
The size of the `swephRdata` package is approximately 115 MB. The user
5050
can also use the original JPL DE431 data.
5151

5252
## Example
@@ -85,11 +85,11 @@ result <- swe_calc_ut(jdut, ipl, iflag)
8585
result
8686
#> $return
8787
#> [1] 260
88-
#>
88+
#>
8989
#> $xx
9090
#> [1] 2.803689e+02 2.323265e-04 9.833276e-01 1.019432e+00 -8.922802e-07
9191
#> [6] -7.339410e-06
92-
#>
92+
#>
9393
#> $serr
9494
#> [1] ""
9595
```
@@ -102,20 +102,20 @@ result <- swe_fixstar2_ut(starname, jdut, iflag)
102102
result
103103
#> $return
104104
#> [1] 260
105-
#>
105+
#>
106106
#> $starname
107107
#> [1] "Sirius,alCMa"
108-
#>
108+
#>
109109
#> $xx
110110
#> [1] 1.040853e+02 -3.960507e+01 5.439322e+05 4.643164e-05 -7.119376e-05
111111
#> [6] -4.130539e-03
112-
#>
112+
#>
113113
#> $serr
114114
#> [1] ""
115115
```
116116

117-
The current R interface is modled after the C interface. It is therefore
118-
often helpful to consult the [general
117+
The current R interface is modeled after the C interface. It is
118+
therefore often helpful to consult the [general
119119
documentation](https://www.astro.com/swisseph/swisseph.htm) and
120120
[programmer’s
121121
documentation](https://www.astro.com/swisseph/swephprg.htm) for the

inst/WORDLIST

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,37 @@ AppAlt
22
AppVeyor
33
arcsec
44
arcus
5+
ascendent
6+
ayanamsa
57
azi
8+
BCE
69
calc
7-
CALC
10+
Coeli
811
coord
912
de
1013
deltat
1114
DeltaT
12-
ECL
1315
ecliptical
1416
eph
1517
ephe
1618
ephemerides
1719
ephemeris
1820
Ephemeris
19-
EQU
2021
FLG
22+
Gauquelin
2123
github
2224
heliacal
2325
Heliacal
24-
HOR
2526
hPa
2627
https
2728
initializations
2829
io
29-
ITRANSIT
3030
jpl
3131
JPL
3232
JPLEPH
33+
MCs
3334
MOSEPH
3435
Moshier
35-
MTRANSIT
36-
NONCENTRAL
3736
occultation
3837
pheno
3938
refrac

man/Section10.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/Section14.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/swephR.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -826,16 +826,16 @@ void set_topo(double longitude, double lat, double height) {
826826
//////////////////////////////////////////////////////////////////////////
827827
//' @title Section 10: Sidereal mode functions
828828
//' @name Section10
829-
//' @description Functions to support the determination of siderial information
829+
//' @description Functions to support the determination of sidereal information
830830
//' @seealso Section 10 in \url{http://www.astro.com/swisseph/swephprg.htm}
831831
//' @param iflag Computation flag as integer, many options possible (section 2.3,1)
832-
//' @param sid_mode Siderial mode as integer
832+
//' @param sid_mode Sidereal mode as integer
833833
//' @details
834834
//' \describe{
835835
//' \item{swe_set_sid_mode()}{Set the mode for sidereal computations.}
836836
//' }
837837
//' @param t0 Reference date as double (day)
838-
//' @param ayan_t0 The initial latitude value of the ayanamsha as double (deg)
838+
//' @param ayan_t0 The initial latitude value of the ayanamsa as double (deg)
839839
//' @examples
840840
//' data(SE)
841841
//' swe_set_sid_mode(SE$SIDM_FAGAN_BRADLEY,0,0)
@@ -853,7 +853,7 @@ void set_sid_mode(int sid_mode, double t0, double ayan_t0) {
853853
//' \describe{
854854
//' \item{swe_get_ayanamsa_name()}{Get the mode name for sidereal computations.}
855855
//' }
856-
//' @return \code{swe_get_ayanamsa_name} returns name of ayanamse method as string
856+
//' @return \code{swe_get_ayanamsa_name} returns name of ayanamsa method as string
857857
//' @rdname Section10
858858
//' @export
859859
// [[Rcpp::export(swe_get_ayanamsa_name)]]
@@ -901,7 +901,7 @@ Rcpp::List get_ayanamsa_ex(double jd_et, int iflag){
901901

902902

903903
//////////////////////////////////////////////////////////////////////////
904-
//' @title Section 13: House cusp, ascendant and Medium Coeli calculations
904+
//' @title Section 13: House cusp, ascendant and Medium Coeli calculations
905905
//' @name Section13
906906
//' @description Calculate house cusp, ascendant, Medium Coeli, etc. calculations
907907
//' @seealso Section 13 in \url{http://www.astro.com/swisseph/swephprg.htm}
@@ -968,15 +968,15 @@ std::string house_name(char hsys) {
968968
}
969969

970970
//////////////////////////////////////////////////////////////////////////
971-
//' @title Section 14: House position calculations
971+
//' @title Section 14: House position calculations
972972
//' @name Section14
973973
//' @description Calculate house position of a given body.
974974
//' @seealso Section 14 in \url{http://www.astro.com/swisseph/swephprg.htm}
975975
//' @param geolat geographic latitude as double (deg)
976976
//' @param hsys house method, one-letter case sensitive as char
977977
//' @param armc right ascension of the MC as double (deg)
978978
//' @param eps ecliptic obliquity as double (deg)
979-
//' @param xpin longitude and latitude of the given boby as numeric vector (deg)
979+
//' @param xpin longitude and latitude of the given body as numeric vector (deg)
980980
//' @details
981981
//' \describe{
982982
//' \item{swe_house_pos()}{Calculate house position of given body.}
@@ -1029,7 +1029,7 @@ Rcpp::List gauquelin_sector(double jd_ut, int ipl, std::string starname, int eph
10291029

10301030

10311031
//////////////////////////////////////////////////////////////////////////
1032-
//' @title Section 15: Sidereal time
1032+
//' @title Section 15: Sidereal time
10331033
//' @name Section15
10341034
//' @description Calculate the sidereal time (in degrees).
10351035
//' @seealso Section 15 in \url{http://www.astro.com/swisseph/swephprg.htm}

0 commit comments

Comments
 (0)