Displaying 20 results from an estimated 6000 matches similar to: "Error: .First.lib failed for 'SBMLodeSolveR'"
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 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
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
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
2006 Jan 20
1
R CMD check, NAMESPACE, import: bad error?
I'm seeing errors with R CMD check that I don't understand when
checking a package that uses a NAMESPACE file with an import
directive. The imported package is listed in the DESCRIPTION file in
the Imports field.
DESCRIPTION contains:
Imports: arules
NAMESPACE contains:
import(arules)
The package builds without warnings and installs and loads just fine.
But check has this to
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 Oct 05
1
Problems with autoconf example from r-ext.
Dear R-developers,
I am trying to reproduce the autoconf.ac example from R-ext and fail.
My autoconf file looks like this
[autoconf.ac]
# original by Friedrich Leisch, much changed by BDR
AC_INIT([SBMLodeSolveR])
dnl Select an optional include path, from a configure option
dnl or from an environment variable.
AC_ARG_WITH([sbmlode-include],
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
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 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
2019 Nov 11
2
R en Jupyter Lab, error al cargar dplyr: "namespace 'rlang' 0.3.4 is being loaded, but >= 0.4.0 is required"
Hola
Quiero ejecutar R desde Jupyter Lab y me encuentro con un error al invocar
la librería dplyr. Este error no aparece cuando ejecuto RStudio.
La sesión de R en jupyter lab:
sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 14393)
Matrix products: default
locale:
[1] LC_COLLATE=Spanish_Chile.1252
2005 Sep 13
3
NUMERIC_POINTER question
Dear R-developers,
Using .Call I pass a S4 class with e.g. the following class definition:
setClass("mmatrix",representation(
data="matrix")
)
On the "C side" i do
mat = GET_SLOT(vs,install("data"));
and then:
printf("%f\n",NUMERIC_POINTER(mat)[1]);
The above print statement produces the correct output if
xx<- new("mmatrix")
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
2005 Aug 04
4
optim
Dear R-helpers,
The function optim implements algorithms that I would like to use.
I have function implemented in R, which given the parameters of which
minimization is to take place returns a scalar as well as the gradient.
Unfortunately optim requires two function _fn_ and _gr_ where fn returns the
function value and gr the gradient. Splitting my function in two functions
would be easy,
2010 Sep 16
1
Possible bug or annoyance with library.dynam.unload()
Hello,
I have a package with a namespace. Because I use Roxygen that overwrites the
NAMESPACE file each time it is run, I use a R/zzz.R file with
an .onLoad() and .onUnload() functions to take care of loading and unloading
my shared library.
The problem: if I load my library from a local directory, then the unloading
of the package fails, e.g:
# loads fine
>library(Foo,
2011 Mar 29
1
Typo in tools:::format.check_Rd_metadata()
Hi,
With R version 2.13.0 alpha (2011-03-24 r55004), 'R CMD check' will
produce the following output on some packages:
* checking Rd metadata ... WARNING
Error in is.function(FUN) : 'FUN' is missing
Calls: print ... format.check_Rd_metadata -> unlist -> lapply ->
match.fun
Execution halted
This is happening on packages that contain duplicated \name or
2015 May 09
1
PATCH: library(..., quietly=TRUE) still outputs "Loading required package: ..." (forgot to pass down 'quietly')
Calling library(..., quietly=TRUE) may still output:
Loading required package: <other pkg>
in some cases, e.g.
> library("R.utils", quietly=TRUE)
Loading required package: R.methodsS3
[...]
I traced this to base:::.getRequiredPackages2(), which forgets to pass
'quietly' to an internal library() call:
if (!attached) {
if (!quietly)
2012 Jul 24
1
Using .onUnload to unload DLLs
I've noticed that many of the "base" R packages have an .onUnload()
function which automatically unloads compiled shared libraries
with library.dynam.unload(). For example:
> stats:::.onUnload
function (libpath)
library.dynam.unload("stats", libpath)
<bytecode: 0x1033b9c30>
<environment: namespace:stats>
I've noticed that many other packages don't
2009 May 13
3
Checking a (new) package - examples require other package functions
I am creating an R package. I ran R CMD check on the package, and everything passed until it tried to run the examples. Then, the result was:
* checking examples ... ERROR
Running examples in REEMtree-Ex.R failed.
The error most likely occurred in:
> ### * AutoCorrelationLRtest
>
> flush(stderr()); flush(stdout())
>
> ### Name: AutoCorrelationLRtest
> ### Title: Test for