and 64-bit.
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie Kwaliteitszorg / team Biometrics Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
To call in the statistician after the experiment is done may
,
Kasper
On Mon, Aug 17, 2015 at 5:03 AM, Thierry Onkelinx thierry.onkel...@inbo.be
wrote:
Dear all,
Is there an easy way to run the tests of a package on both a 32-bit and
64-bit version? Ideally it should work when using R CMD check --as-cran on
all OS's. Although I expect that multi
,
signature = signature(A = myClass),
definition = function(
a,
b
){
bar(
a = myClass@A,
b = myClass@B
)
}
)
When I build my package I get the error no existing definition for
function 'bar'.
Any suggestions?
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en
Dear Hadley,
I've put a reproducible example at https://github.com/ThierryO/testS4
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat
Have a look at the RODBC package. odbcConnectAcces() is only available on
Windows.
Op 19-sep.-2015 12:08 schreef "Richard Cotton" :
> I have a package that uses win.version from the utils package.
>
> I've made my R code safe to use across platforms, I check that the OS is
Dear Russell.
The assertthat package (by Hadley) provides a has_name() function.
> library(assertthat)
> x <- data.frame(y = NA)
> has_name(x, "y")
[1] TRUE
> has_name(x, "x")
[1] FALSE
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderz
.
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
To call in the statistician after the experiment is
Dear Bruce,
Have a look at drat: http://dirk.eddelbuettel.com/code/drat.html I think
that is what you are looking for.
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics &
Dear David,
Have you tried removing the exclamation mark in %!\VignetteEncoding{UTF-8}?
I think it should be %\VignetteEncoding{UTF-8}
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg /
between using the old version which still works but no longer maintained or
the switched to the new version which is maintained but will break existing
code.
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie
quot;cA") has a slot of
class "maybeInla", which is defined as setClassUnion("maybeInla", c("inla",
"NULL"))
- The "cA" class uses a slot of class "cB". "cB" is imported from package
"B".
Can someone explai
Dear Roy,
In case you create a HTML vignette you can use datatable() from the DT
package. That creates a dynamic table in the output.
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg /
Dear Dario,
The attachments got stripped from the mail by the server. Can you provide a
link to the results of R CMD check and the source code of the package?
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie
Dear Jonathon,
Is ggplot2 listed in the DESCRIPTION file? It needs to be at least in the
Suggests:
Best regards,
Thierry
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality A
Try adding requireNamespace("ggplot2") in the function that rely on ggplot2.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070
Yes. That is what I meant (but too lazy to write).
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
To call in the stat
Dear Martin,
We use Docker to create an image with R and specific versions of the
required packages. You can find our docker image and the source code at
https://hub.docker.com/r/inbobmk/rstable/
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute
, ...) :
could not find function "loadMethod"
loadMethod() is NOT used in mypackage and not imported.
library(mypackage)
my_function()
Best regards,
ir. Thierry Onkelinx
Statisticus/ Statiscian
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH
regards,
ir. Thierry Onkelinx
Statisticus/ Statiscian
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkel...@inbo.be
Kliniekstraat 25
to the _user_ to
provide a data.frame (and a tibble is not a data.frame). Documenting
this in the package documentation/FAQ or issuing a warning "don't use
tibble" when the package is loaded should be sufficient.
Best regards,
ir. Thierry Onkelinx
Statisticus/ Statistician
Vlaamse Overheid /
Dear Nikos,
Your examples are taking too much time. Make them run faster. Or
remove some of them.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team
Sys.chmod(file,
"000") which didn't work.
Any suggestions?
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie & Kwaliteitszorg / T
Dear Adrian,
Answering this would be much easier when you have access to the code.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie
using pdf as
output format for the vignette? Consider using
rmarkdown::html_vignette.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie
s("LM2GLMM") or
update.packages()
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Qua
Dear Alex,
Another idea is to use pkgdown (http://pkgdown.r-lib.org) to convert
all the documentation of your package (include the vignettes) into a
website. Then you make that available to your students, e.g. through
github pages.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Dear Bill,
The best way to fix your problem is IMHO to have it fixed in lme4. I've
cc'ed Ben Bolker (lme4 maintainer) to inform him of this problem.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK
You can make things even a bit easier by setting "eval=myeval" and set
"myeval <- FALSE" at the top of the vignette. In case you want to update
the figures, you only have to set "myeval <- TRUE" and run the vignette.
ir. Thierry Onkelinx
Statisticus / Statist
global variable" error.
What is the proper way to use txt data in a package?
Best regards,
Thierry
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie &
describing
and linking to the precompiled vignettes. Something like
browseURL(system.file("precompiled.html", package = "yourpackage"))
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK
Dear Spencer,
I assume you are using R **3**.6.2.
Consider TinyTeX (https://yihui.org/tinytex/). I found that working fairly
easy on Windows machines, even by users without admin privileges.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government
Dear Neonira.
Whatever file you place in the inst folder, will be available for the users
when they install the package.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE
Dear Dominik,
IMHO you only need to list "first order" dependencies: things that your
package directly uses. Listing higher order dependencies would be redundant
as they are listed in the packages that have them as first order dependency.
Best regards,
ir. Thierry Onkelinx
S
citations.
So I won't waste time arguing over this and use that time to put it on
Zenodo.
Best regards,
PS Zenodo is well funded (https://about.zenodo.org/infrastructure/) and
IMHO equally likely to be permanent as CRAN is.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid
Thanks for the feedback. It seems like I was under the impression that
.Rbuildignore would follow similar rules as .gitignore.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE
Dear all,
Can we add blank lines in .Rbuildignore? Or lines with only comments (line
starting with #)?
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team
/bad8a4cf42049faa72a04b202c5a4dfc233b4046/vignettes/efficiency.Rmd#L293
for an example.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biomet
Dear Jose,
I store the results of CPU intensive chunks in the package. Have a look at
https://github.com/ropensci/git2rdata/blob/master/vignettes/efficiency.Rmd.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN
Probably because the cache is not installed into the package. I'd check the
tar.gz file to see if the cache is present.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team
That will be hard to do without your package. Note that I've suggested a
work around in my first reply.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie
21-03-08
─ Packages
package * version date lib source
lattice 0.20-41 2020-04-02 [1] CRAN (R 4.0.4)
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOS
ibrary") solved the problem.
So it looks like rcmdcheck ignored the first element of .libPaths(). I'm
not sure if that is a bug of rcmdcheck. Shall I report an issue?
Best regards,
Thierry
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTI
function.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkel...
in qrcode? And thus
requiring qrcode to list opencv as a suggested package. I know this is not
allowed when depending or importing packages.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH
The goal of opencv is to provide bindings to 'OpenCV' Computer Vision
Library. Hence a much wider scope than just reading qrcodes. qrcode just
focusses creating different qrcodes. The fact that they can use each other
to test themselves is a happy coincidence.
ir. Thierry Onkelinx
Statisticus
Dear Tony,
Much will depend on what information you need from the output of
installed.packages()?
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team
Dear Vincent,
Have a look at the spatstat package which was split into several smaller
packages (https://github.com/spatstat/spatstat). Maybe the maintainers of
that package can share some insights.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government
loop.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkel...@inbo.be
Have
The cascade is even longer. prediction got archived because ffbase was no
longer available. https://cran.r-project.org/web/packages/ffbase/
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE
49 matches
Mail list logo