Native code would try to read from file even where there was
nothing to read. This was caught by the -Wunused-result
compiler
option.
Native code had a non-guarded else clause, i.e. it was not
surrounded by { ... }
.
Now explicitly importing graphics, grDevices, and utils functions.
Removed some clang compiler warnings and a harmless bug in a part of the C code that was never used by this package.
Now sfit::cfit()
works (without having to attach the package).
Now library("sfit", quietly = TRUE)
attaches the package
completely silently without any output message.
Now only importing R.methodsS3 (no longer attaching it).
Updated details on authors.
Added cfitTests()
to test the installation.
Added several system tests.
Now declaring S3 methods in NAMESPACE.
Added an Authors@R
field to DESCRIPTION.
CRAN POLICY: Now all Rd example lines are at most 100 characters long.
packageStartupMessage()
instead of cat()
when
loaded.cfit
of cfit()
is NULL, which happens if the cfit
option is not set, then cfit()
will generate a warning explaining
that it will rely on the operating system to find the cfit
binary, which may not work.f
when building
executable cli
. This warning was unharmful and the "fix" makes
no difference.BUILD BUG FIX: The makefiles for building package binaries assumed
that a directory ../incl/bin/
existed. Starting with R v2.13.0,
empty ("skeleton") directories are automatically dropped (already
when building the *.tar.gz
), which caused error ../inst/bin/: No such file or directory
during the binary builds.
If the cfit
binary had a comma in its path, cfit()
would, if on
Windows, throw an error reporting that the command "is not
recognized as an internal or external command, operable program or
batch file". Now such commas are escaped if on Windows. See source
code of findCfitBinary()
for all details.
verbose
of cfit()
for the matrix
class.SaveImage
from DESCRIPTION.drawApex()
and radials()
for class cfit
.cfit.matrix()
now tests if the temporary data file was
written/exists.R CMD check
R v2.6.0.lines3d()
for cfit
queried non-existing objects.cfit()
would give output sh: cfit: command not found
. This is because the sh shell has not be
setup to identify executable in the current directory, i.e. they
have to be called with ./cfit
, but that does not work on Windows.
Instead, the cfit()
is now calling pipe()
with the absolute
pathname to the cfit
executable within quotation marks (to avoid
problems with spaces) in the command string.cfit
binary is
automatically build upon R CMD INSTALL
. It is still no shared
library that is build, i.e. the approach to dump data to file, call
cfit
, and then let R parse the cfit result is still used. But at
least it should not (in theory) install and run on all platforms.