Comments (11)
Yes, it seems the original problem is solved. Thanks
from rcppeigen.
Similarly with the argument force
from rcppeigen.
Confirmed the example_code=FALSE
case, and corrected in a branch in just pushed. Tested all four cases of example_cide
equal to TRUE
or FALSE
with or without pkgKitten
installed.
I do not know what you mean by your second remark.
from rcppeigen.
I do not know what you mean by your second remark.
I wanted to say that calling the following code
RcppEigen::RcppEigen.package.skeleton(force = TRUE)
results in a similar error
Calling kitten to create basic package.
Error in (function (name = "anRpackage", path = ".", author, maintainer, : unused argument (force = TRUE)Error in value[3L] : error while calling
kitten
from rcppeigen.
force
is indeed an unused argument. It is there, but does nothing.
Which is what R tells you: "you gave me an argument 'force', there is nothing I can do with it". Which is correct. I should probably remove it -- or you should just not use it :)
from rcppeigen.
force
is indeed an unused argument. It is there, but does nothing.
I think this argument is necessary
Let's look at the documentation RcppEigen.package.skeleton
Arguments:
...
force: See package.skeleton
The expected behavior is identical to package.skeleton
Let's look at the documentation package.skeleton
Arguments:
...
force: If βFALSEβ will not overwrite an existing directory.
At a minimum, the inability to create a project inside an existing folder is depressing
RcppEigen::RcppEigen.package.skeleton('testProj')
Calling kitten to create basic package.
Error: Directory 'testProj' already exists. Aborting.Error in value[3L] : error while calling
kitten
from rcppeigen.
Among other things, in Rcpp::Rcpp.package.skeleton
argument force
is working fine and as expected
from rcppeigen.
Two things:
-
Yes,
force
was just there because the R basepackage.skeleton()
can use it. As you identified, it let to a second ugly error if was present ANDpkgKitten
was used. I just fixed that, similar to above. -
The
Error: Directory 'testProj' already exists. Aborting.
is just R telling you that you directory already has a directory namedtestProj
. It has always been like that. I was just tesing withtestPkgA
,testPkgB
,testPkgC
, ... and so on.
from rcppeigen.
I don't think we understand each other
I am well aware of what these warnings mean, but I think they need to be corrected
It seems logical to me to be able to create a package inside a pre-created directory
And also it seems to me a terrible bug that RcppEigen::RcppEigen.package.skeleton(force = TRUE)
will correctly generate the package in an existing directory if there is no pkgKitten
and will crash with the error above if it is install
from rcppeigen.
Please look at the branch I commited minutes ago (as I said I would; but only now pushed, sorry). It deals with the force && pkgKitten
issue.
If there is anything else, please open a new issue.
I do not plan to address isues caused by R itself as both and without pkgKitten
we do use R's own package.skeleton
. And it will not proceed creating a new package with a given name if a directory with that name already exists.
Otherwise, please help me disentangling the different discussion threads. Thank you.
from rcppeigen.
Please try now. The original issues should now be better. Thanks for bringing them up.
from rcppeigen.
Related Issues (20)
- fine-grained access to features HOT 1
- Installation issue on RHEL 7.9 with gcc-4.8.5 or gcc-5.3.1 HOT 7
- compilation error in lmsol::gesdd HOT 3
- Warning messages: 1: partial match of 'df' to 'df.residual' HOT 6
- Unable to install v0.3.3.9.3 (zero exis status, warning: ignoring attributes on template argument β__m128) HOT 4
- Can't install on arm64 (MacOS) HOT 1
- EIGEN_DEFAULT_TO_ROW_MAJOR and other flags HOT 3
- Runtime error causing R session to crash HOT 6
- Undefined symbol: RcppEigen_Eigen_SSE HOT 3
- Error while trying to create shinyproxy image HOT 1
- no member named 'Rlog1p' in namespace 'std' HOT 11
- (Rcpp)Eigen 3.4.0 would help with C++17 HOT 2
- Small DESCRIPTION issue HOT 1
- Why macros for GCC in DisableStupidWarnings.h are commented HOT 2
- Small inconsistency in the `lmBenchmark.R` file? HOT 4
- Lots of warnings During Compilation HOT 1
- Can not install RcppEigen, RcppEigen.h: No such file or directory HOT 7
- make fastLm use mutliple threads HOT 3
- Error installing RcppEigen HOT 4
- Map dgCmatrix as integer sparse matrix HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcppeigen.