Hello
i have this following error making a package
-- Making package svcR
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
installing R files
installing data files
installing man source files
installing indices
Error in read.table(zfile, hea
Hello,
I dont understand such error coming from my installed package and dont
appearing
when i load the code source directly .
The problem occur when the function capture the path value (FileIn),
and so cannot find the file inside the directory.
> findModelCluster(MetOpt, MetLab, Nu, q, K=1, G,
i solve the problem of masked GlobalEnv which is induced from conflicts
with
objects in memory
removing objects before installing the package solves the warning message
Nicolas
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo
are masked _by_ .GlobalEnv : findModelCluster
thank for help
--
Nicolas
Duncan Murdoch a écrit :
> Nicolas Turenne wrote:
>
>> i follow your recommendation writing this :
>> in the description file
>> Depends: R (>= 2.3), quadprog, ade4, spdep
>> Imports: quadpr
' n'a pas
d'espace de noms
do you have an explanation ?
thank for help
---
Nicolas
Duncan Murdoch a écrit :
> Nicolas Turenne wrote:
>
>> i follow your recommendation writing this :
>> in the description file
>> Depends: R (>= 2.3), quadprog, ade4, spd
failed ***
it says that quadprog has not a namespace
perhaps it is due to location of quadprog.dll
i have put it into inst/src directory
thank for help
Nicolas
Uwe Ligges a écrit :
> Nicolas Turenne wrote:
>
>> your answer is correct after checking some doc
>> but examples are
t;)
importFrom("knearneigh", "spdep")
i obtain :
Namespace dependencies not required:
dist.dudi dudi.coa dudi.pca knearneigh mstree neig2mat solve.QP
if i delete the importFrom lines
i get an error about "loading / namespace not succesful" for svcr
i think the solution
in that sense, it is useless to load the library from R source code
making my package
which is supposed to include it and load it
so if i understand the R philosophy it is not possible to load dll from
outside ;
the user has to load my package and manually has to load the necessary
libraries
e
>
>
>You didn't show the results of installing your package. Did that work?
>
>Generally we advise to do a successful install before you try to run
checks.
>
>Duncan Murdoch
D:\RBuild\svcR> rcmd build D://RBuild//svcR --force --docs='all' --binary
hence i obtain the file svcR_1.0.zip
and
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 pat
10 matches
Mail list logo