CRAN Package Check Results for Package astrolibR

Last updated on 2014-10-10 15:48:48.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 1.29 23.51 24.80 OK
r-devel-linux-x86_64-debian-gcc 0.1 1.22 22.76 23.98 OK
r-devel-linux-x86_64-fedora-clang 0.1 49.60 OK
r-devel-linux-x86_64-fedora-gcc 0.1 45.82 OK
r-devel-osx-x86_64-clang 0.1 45.05 OK
r-devel-windows-ix86+x86_64 0.1 4.00 31.00 35.00 OK
r-patched-linux-x86_64 0.1 1.26 23.68 24.94 OK
r-patched-solaris-sparc 0.1 248.70 OK
r-patched-solaris-x86 0.1 59.80 OK
r-release-linux-ix86 0.1 1.66 31.00 32.66 OK
r-release-linux-x86_64 0.1 1.23 23.19 24.42 OK
r-release-osx-x86_64-mavericks 0.1 OK
r-release-osx-x86_64-snowleopard 0.1 OK
r-release-windows-ix86+x86_64 0.1 4.00 38.00 42.00 OK
r-oldrel-windows-ix86+x86_64 0.1 5.00 28.00 33.00 ERROR

Check Details

Version: 0.1
Check: examples
Result: ERROR
    Running examples in 'astrolibR-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: planet_coords
    > ### Title: Calculate low precision Right Ascension and declination for the
    > ### planets given a date
    > ### Aliases: planet_coords
    > ### Keywords: misc
    >
    > ### ** Examples
    >
    > # Find the RA, Dec of Venus on 1992 Dec 20
    > # Result: RA = 21 05 2.66 Dec = -18 51 45.7
    >
    > planet_coords(c(1992,12,20)) # compute for all planets
    Called from: planet_coords(c(1992, 12, 20))
    Browse[1]> adstring(ra[2],dec[2],1) # Venus is second planet
    Error in stopifnot(length(ra_dec) == length(dec)) : object 'ra' not found
    Calls: planet_coords -> adstring -> stopifnot
    Browse[1]> # This position is 37" from the full DE406 ephemeris position of
    Browse[1]> # RA = 21 05 5.24 -18 51 43.1
    Browse[1]>
    Called from: euler(lambda, beta, 4)
    Browse[1]> # Plot the declination of Mars for every day in the year 2001
    Browse[1]>
    $ra
     [,1]
    [1,] 248.5639
    [2,] 316.2609
    [3,] 117.2738
    [4,] 191.8385
    [5,] 317.9323
    [6,] 288.5635
    [7,] 289.4143
    [8,] 234.3115
    
    $dec
     [,1]
    [1,] -20.901785
    [2,] -18.861782
    [3,] 24.571676
    [4,] -3.718574
    [5,] -17.250788
    [6,] -22.753931
    [7,] -21.560624
    [8,] -4.851693
    
    > jd = jdcnv(2001,1,1,0) # get Julian date of midnight on Jan 1
    > out = planet_coords(jd+seq(0,365), planet='mars')
    Error in rep(0, 6 - length(date)) : invalid 'times' argument
    Calls: planet_coords -> juldate
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64