Displaying 20 results from an estimated 7000 matches similar to: "R CMD check, NAMESPACE, import: bad error?"
2009 May 27
1
"Error: package/namespace load failed"
I am writing my first R package, and I have been getting the following series of errors when I run R CMD check:
* checking S3 generic/method consistency ... WARNING
Error: package/namespace load failed for 'REEMtree'
Call sequence:
2: stop(gettextf("package/namespace load failed for '%s'", libraryPkgName(package)), 
       call. = FALSE, domain = NA)
1: library(package,
2005 Sep 27
2
Error in "make check-all"
Dear R-users,
i'm a very newbie in linux, but decided to build R from source. 
Following the "R Installation and Administration" manual, i did this:
./configure --enable-R-shlib # this option is here because i intend to 
build the GNOME console after...
make
make check
no problems in make check, but:
make check-devel #and also
make check-all
indicated some WARNINGs in the log
2005 Aug 15
2
R CMD check failure on minimal code
I have a peculiar problem that I'm sure is a simple one, but I can't figure
out what my mistake is.  Can someone enlighten me?  I have a simple file,
class.R:
##
setClass("abc",representation(a = "character", b = "ANY"))
I have a package directory ExpressCGH1 made with package.skeleton.  The
package happily builds and installs, but R CMD check fails with
2006 Jun 06
1
vague errors on R CMD check for very minimal S4-style package
Hello,
I have a very minimal package "simplepkg" (DESCRIPTION, NAMESPACE, and
R) with S4 classes/methods (defines a class "foo" and a show method for
that class" - both the class and show method are exported).  I can
seemingly install the package, then load and use it:
> sessionInfo()
Version 2.3.1 (2006-06-01) 
sparc-sun-solaris2.10 
attached base packages:
[1]
2005 Oct 11
1
Error: .First.lib failed for 'SBMLodeSolveR'
Dear R-developers,
I am getting the following error message (see bottom of e-mail) and can't make 
a clue out of it.
The zzz.R file contains 
.First.lib <- function(lib, pkg) library.dynam("SBMLodeSolveR",pkg,lib)
.Last.lib <- function(libpath) library.dynam.unload("SBMLodeSolveR", libpath)
There is a SBMLodeSolveR.so file in the src directory which works if loaded
2005 Dec 22
1
(no subject)
Hi,
I am new in writing R extension.
I read the "Writing R Extensions", and search online but just cannot  
find the answer.
I am trying to add c-code, which depend on GSL C  library, into my R  
package.
I am using Max OS-X 10.4.3, powerpc-apple-darwin8-gcc-4.0.1
I begin wtih package.skeleton, and then add my c file into folder src
and then add  file Makevars:
PKG_LIBS=-lgsl
2006 Jun 12
2
about integration of a library into package creation
hello,
i try to create a package , and i call a library in the namespace file
such as :  useDynLib(quadprog)
after checking my directory with the command "rcmd check" (i am on 
WindowsXP)
i get an error: package / namespace load failed
the path of the library is:     D:\R\library\quadprog
the path of the  building files is:   D:\RBuild\svcR
and the comand i use to compile is:  rcmd
2005 Nov 10
0
Problem with C code under R2.2 only.
Dear R developers,
Running a R CMD check under R2.2 gives me the error messages (appended to this 
e-mail) while the with R2.1 the check on the same package directory runs fine. 
To my knowledge the configuration of R2.2 and R2.1 on my machine are 
identical.
* checking S3 generic/method consistency ... WARNING
Error: .First.lib failed for 'SBMLodeSolveR'
Call sequence:
2:
2005 Jun 23
1
mac osx, g95 package port problem
Hi all,
I have a working package for linux, including fortran 95 code compiled with 
g95,
that I need to port to OS X. The package works on Linux and seems to load on 
the Mac,
but when I try to run a function that calls C or Fortran I'm told that the 
symbol is not loaded.
I'm developing via a shell account on an OS X system, I don't have access to 
a desktop.
The set up is:
R
2005 Jun 30
0
Relationship between dyn.load and library.dynam
I am a little confused about the relationship between library.dynam and
dyn.load
>From the documentation:
library.dynam(chname,
Load the specified file of compiled code if it has not been loaded
already, or unloads it. Where chname is a character string naming a
shared library to load.
and
dyn.load(x, local = TRUE, now = TRUE)
Load or unload shared libraries, and test whether a C function
2012 Oct 20
1
R-2.15.1 CMD CHECK output: "Call Sequence"
Hi guRus,
i'm running R-2.15.1 and the R CMD CHECK output appears to have changed substantially, in that instead of pointing me to the offending functions or files, I get lots of 'call sequence' traces as below.
I've been using R CMD CHECK for years &  never seen anything like this before. This is on a pretty fresh OSX 10.8 Mountain Lion installation, where I installed R from
2006 Sep 22
1
Possible bug in base::namespaceImportFrom?
Hi,
namespaceImportFrom in base/R/namespace.R has the following:
       fdef <- methods:::getGeneric(genName, impenv)
The definition of getGeneric is in methods/R/RMethodUtils.R starts
with:
    getGeneric <-
      ## return the definition of the function named f as a generic.
      ##
      ## If there is no definition, throws an error or returns
      ## NULL according to the value of
2011 Dec 07
2
arules package intsallation
I'm using R version 2.13.0 (2011-04-13) on Mac OS X and I get the following error message with library(arules):
Loading required package: Matrix
Loading required package: lattice
Attaching package: 'Matrix'
The following object(s) are masked from 'package:base':
    det
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object
2011 Jan 04
0
R CMD check bug or misfeature
This is a bug/misfeature report for R CMD check.  The function
    tools:::.check_packages_used_in_tests
Gives an apparently unintended error when checking the tests in the
contributed package rcdd_1.1-3.tar.gz as found on CRAN.
See the script below for details.
The actual error reported is totally mysterious.
* checking for unstated dependencies in tests ... NOTE
Error in
2006 Oct 06
1
operator :: and symbols not in the namespace of a package with a namespace (PR#9279)
Full_Name: Thomas Friedrichsmeier
Version: 2.4.0
OS: GNU/Linux
Submission from: (NULL) (84.61.116.51)
Since R 2.4.0, operator "::" also returns objects in the package environment, if
the package does not have a namespace. This is a very welcome addition.
Additional wish:
If a package has a namespace, but does not place all symbols in that namespace,
lookup will still fail. For example
2006 Feb 08
1
Improve error message for bad NAMESPACE file?
If a user mis-types a directive in the NAMESPACE file, the error
message is quite cryptic.  If it was possible to report the offending
line/text that would likely give a valuable clue to the user.
Try putting the following line in NAMESPACE
foo("bar")
Then R CMD INSTALL says,
* Installing *source* package 'goodbye' ...
** R
** preparing package for lazy loading
Error in
2006 Jul 28
1
arules package: using image() deliveres unexpected results
Dear Collegues,
 
it seems like there is a problem with the image()-method in the package arules.
 
Using an ordninary matrix works fine:
image(matrix(rnorm(200), 10, 20), axes = FALSE, col=brewer.pal(9, "Blues") )
delivers an image with blue colors and no axes.
 
Using an object of the class "associations" (arules package) does not work:
 
image(items(ta.eclat), axes = FALSE,
2011 Jan 28
1
arules package question- apriori/S4 object export question
I am new to R( but quickly being awed by the range of this it can accomplish,
you have one more convert to the useR universe). I have successfully
implemented the apriori function and are getting great results. My question
concerns how to export these results. I have read lots about write.csv
functions and exporting data frames and other standard objects. Im having
difficulty working with these S4
2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
Hello,
I'm using the eclat function of the arules package (1.0-6) for the
identification of frequent itemsets. I need the tidLists, but if I set
in the function tidLists=TRUE R crashes (Windows XP Professional SP3,
32 bit, R version 2.12.1 (2010-12-16), reproducible on two different
computers) with two different error messages or non at all. Minimum
examples are:
	library(arules)
2005 Jul 26
0
Association rules
>library(foreign)
in the foreign package,you can use read.csv command to read the csv file.you can use excel to open the file and save as cvs file.you should read the manuals first,which tells in details how to import your data into R.
before you use the command frome the arules package,you should first type the command
>library(arules)
	
======= 2005-07-26 22:18:48 伳侜佋佢伬伌佇伵佒佇佇伌伒伬仯伜=======