* using log directory 'd:/Rcompile/CRANpkg/local/3.0/astrolibR.Rcheck' * using R version 3.0.3 (2014-03-06) * using platform: i386-w64-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'astrolibR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'astrolibR' version '0.1' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'astrolibR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... 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