The Rcpp team is thrilled to announce the newest release 1.0.10 of
the Rcpp package which is hitting CRAN now and will go to Debian shortly. Windows and macOS
builds should appear at CRAN in the next few days, as will builds in
different Linux distribution and of course at r2u. The release was
prepared a few days ago, but given the widespread use at CRAN it took a
few days to be processed. As always, our sincere thanks to the CRAN
maintainers Uwe Ligges and Kurt Hornik. This release continues with the
six-months cycle started with release
1.0.5 in July 2020. As a reminder, we do of course make interim
snapshot dev or rc releases available via the Rcpp drat repo and strongly
encourage their use and testing I run my systems with these versions
which tend to work just as well, and are also fully tested against all
reverse-dependencies.
Rcpp has become the most
popular way of enhancing R with
C or C++ code. Right now, around 2623 packages on CRAN depend on Rcpp for making analytical code go
faster and further, along with 252 in BioConductor. On CRAN, 13.7% of
all packages depend (directly) on CRAN, and 58.7% of all compiled
packages do. From the cloud mirror of CRAN (which is but a subset of all
CRAN downloads), Rcpp has been
downloaded 67.1 million times.
This release is incremental as usual, preserving existing
capabilities faithfully while smoothing our corners and / or extending
slightly. Of particular note is the now fully-enabled use of the
unwind protection making some operations a little faster by default;
special thanks to I aki for
spearheading this. Kevin and
I also polished a few other bugs off as detailed below.
The full list of details follows.
Thanks to my CRANberries, you can also look at a diff to the previous release. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page. Bugs reports are welcome at the GitHub issue tracker as well (where one can also search among open or closed issues); questions are also welcome underChanges in Rcpp release version 1.0.10 (2023-01-12)
- Changes in Rcpp API:
- Unwind protection is enabled by default (I aki in #1225). It can be disabled by defining
RCPP_NO_UNWIND_PROTECTbefore includingRcpp.h.RCPP_USE_UNWIND_PROTECTis not checked anymore and has no effect. The associated pluginunwindProtectis therefore deprecated and will be removed in a future release.- The 'finalize' method for Rcpp Modules is now eagerly materialized, fixing an issue where errors can occur when Module finalizers are run (Kevin in #1231 closing #1230).
- Zero-row
data.frameobjects can receivepush_backorpush_front(Dirk in #1233 fixing #1232).- One remaining
sprintfhas been replaced bysnprintf(Dirk and Kevin in #1236 and #1237).- Several conversion warnings found by
clang++have been addressed (Dirk in #1240 and #1241).- Changes in Rcpp Attributes:
- Changes in Rcpp Deployment:
- Several GitHub Actions have been updated.
rcpp
tag at StackOverflow which also allows searching among the
(currently) 2932 previous questions.
If you like this or other open-source work I do, you can sponsor me at
GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Boost is a very large and
comprehensive set of (peer-reviewed) libraries for the C++ programming
language, containing well over one hundred individual libraries. The BH package provides a
sizeable subset of header-only libraries for (easier, no linking
required) use by R. It is fairly widely used: the (partial) CRAN mirror
logs (aggregated from the cloud mirrors) show over 32.6 million package
downloads.
Version 1.81.0 of Boost was released in December following the
regular Boost release schedule of April, August and December releases.
As the commits and changelog show, we packaged it almost immediately and
started testing following our annual update cycle which strives to
balance being close enough to upstream and not stressing CRAN and the
user base too much. The reverse depends check revealed about a handful
of packages requiring changes or adjustments which is a pretty good
outcome given the over three hundred direct reverse dependencies. So we
opened issue
#88 to coordinate the issue over the winter break during which CRAN
also closes (just as we did before), and also
send a
wider PSA tweet as a heads-up. Our sincere thanks to the two
packages that already updated, and the four that likely will soon. Our
thanks also to CRAN for reviewing the package impact over the last few
days since I uploaded the package earlier this week.
There are a number of changes I have to make each time in BH, and it
is worth mentioning them. Because CRAN cares about backwards
compatibility and the ability to be used on minimal or older systems, we
still adjust the filenames of a few files to fit a jurassic
constraints of just over a 100 characters per filepath present in some
long-outdated versions of tar. Not a big deal. We also, and
that is more controversial, silence a number of
#pragma diagnostic messages for g++ and
clang++ because CRAN insists on it. I have no choice in
that matter. Next, and hopefully this time only, we also found and
replaced a few remaining sprintf uses and replaced them
with snprintf. Many of the Boost libraries did that, so I
hope by the next upgrade for Boost 1.84.0 next winter this will be fully
taken care of. Lastly, and also only this time, we silenced a warning
about Boost switching to C++14 in the next release 1.82.0 in April. This
may matter for a number of packages having a hard-wired selection of
C++11 as their C++ language standard. Luckily our compilers are good
enough for C++14 so worst case I will have to nudge a few packages next
December.
This release adds one new library for url
processing which struck us as potentially quite useful. The more
detailed NEWS log follows.
Via my CRANberries, there is aChanges in version 1.81.0-1 (2023-01-17)
diffstat report relative to the previous
release.
Comments and suggestions about BH are welcome via the issue tracker
at the GitHub
repo.
If you like this or other open-source work I do, you can now sponsor me at
GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Trisquel GNU/Linux logo
Working through crosvm dependencies in Debian. intrusive-collections Debian package went in. Next up is argh.
I think most of them is there now and the next challenge is getting crosvm to build with the newer dependencies.
The RcppSimdJson
package was just updated to release 0.1.9.
RcppSimdJson
wraps the fantastic and genuinely impressive simdjson library by Daniel Lemire and collaborators. Via
very clever algorithmic engineering to obtain largely branch-free code,
coupled with modern C++ and newer compiler instructions, it results in
parsing gigabytes of JSON parsed per second which is quite
mindboggling. The best-case performance is faster than CPU speed as
use of parallel SIMD instructions and careful branch avoidance can lead
to less than one cpu cycle per byte parsed; see the video of the talk by Daniel Lemire
at QCon.
This release updates the underlying simdjson library to
version 3.0.1, settles on C++17 as the language standard, exports a
worker function for direct C(++) access, and polishes a few small things
around the package and tests.
The NEWS entry for this release follows.
Courtesy of my CRANberries, there is also a diffstat report for this release. For questions, suggestions, or issues please use the issue tracker at the GitHub repo. If you like this or other open-source work I do, you can now sponsor me at GitHub.Changes in version 0.1.9 (2023-01-21)
- The internal function deseralize_json is now exported at the C++ level as well as in R (Dirk in #81 closing #80).
- simdjson was upgraded to version 3.0.1 (Dirk in #83).
- The package now defaults to C++17 compilation;
configurehas been retired (Dirk closing #82).- The three main R access functions now use a more compact argument check via
stopifnot(Dirk).
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A new release of RcppFastFloat
arrived on CRAN yesterday. The
package wraps fast_float, another
nice library by Daniel Lemire. For
details, see the arXiv
paper showing that one can convert character representations of
numbers into floating point at rates at or exceeding one gigabyte per
second.
This release updates the underlying fast_float library
version. Special thanks to Daniel
Lemire for quickly accomodating a parsing use case we had encode as
a test, namely with various whitespace codes. The default in
fast_float, as in C++17, is to be more narrow but we enable
the wider use case via two #define statements.
Courtesy of my CRANberries, there is also a diffstat report for this release. If you like this or other open-source work I do, you can now sponsor me at GitHub.Changes in version 0.0.4 (2023-01-20)
- Update to fast_float 3.9.0
- Set two
#definere-establish prior behaviour with respect to whitespace removal prior to parsing foras.double2()- Small update to continuous integration actions
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
233. This version includes the following changes:
[ FC Stegerman ]
* Split packaging metadata into an extras_require.json file instead of using
the pep517 and the pip modules directly. This was causing build failures if
not using a virtualenv and/or building without internet access.
(Closes: #1029066, reproducible-builds/diffoscope#325)
[ Vagrant Cascadian ]
* Add an external tool reference for GNU Guix (lzip).
* Drop an external tool reference for GNU Guix (pedump).
[ Chris Lamb ]
* Split inline Python code in shell script to generate test dependencies to a
separate Python script.
* No need for "from __future__ import print_function" import in setup.py
anymore.
* Comment and tidy the new extras_require.json handling.
<script> stuff gets sanitized away. It seems I would need to
split the JavaScript out of the template into a base template and then
make the page template refer to a function in there. It's kind of
horrible and messy.
I wish there was a way to just access page metadata from the page
template itself... I found out the meta plugin passes along its
metadata, but that's not (easily) extensible. So i'd need to either
patch that module, and my history of merged patches is not great
so far.
So: another plugin.
I have something that kind of works that's a combination of a
page.tmpl patch and a plugin. The plugin adds a mastodon
directive that feeds the page.tmpl with the right stuff. On clicking
a button, it injects comments from the Mastodon API, with a JavaScript
callback. It's not pretty (it's not themed at all!), but it works.
If you want to do this at home, you need this page.tmpl (or at
least this patch and that one) and the mastodon.pm
plugin from my mastodon-plugin branch.
I'm not sure this is a good idea. The first test I did was a "test
comment" which led to half a dozen "test reply". I then realized I
couldn't redact individual posts from there. I don't even know if,
when I mute a user, it actually gets hidden from everyone else too...
So I'll test this for a while, I guess.
I have also turned off all CGI on this site. It will keep users from
registering while I cleanup this mess and think about next steps. I
have other options as well if push comes to shove, but I'm
unlikely to go back to ikiwiki comments.
Mastodon comments are nice because they don't require me to run any
extra software: either I have my own federated service I reuse, or I
use someone else's, but I don't need to run something extra. And, of
course, comments are published in a standard way that's interoperable
with everything...
On the other hand, now I won't have comments enabled until the blog is
posted on Mastodon... Right now this happens only when feed2exec
runs and the HTTP cache expires, which can take up to a day. I
should probably do this some other way, like flush the cache when a
new post arrives, or run post-commit hooks, but for now, this will
have to do.
Update: I figured out a way to make this work in a timely manner:
post-merge hook in my ikiwiki git repository which
calls feed2exec in /home/w-anarcat/source/.git/hooks/ took
me a while to find it! I tried post-update and post-receive
first, but ikiwiki actually pulls from the bare directory in the
source directory, so only post-merge fires (even though it's not
a merge)mastodon directive
There's a bunch of ways you can store cryptographic keys. The most obvious is to just stick them on disk, but that has the downside that anyone with access to the system could just steal them and do whatever they wanted with them. At the far end of the scale you have Hardware Security Modules (HSMs), hardware devices that are specially designed to self destruct if you try to take them apart and extract the keys, and which will generate an audit trail of every key operation. In between you have things like smartcards, TPMs, Yubikeys, and other platform secure enclaves - devices that don't allow arbitrary access to keys, but which don't offer the same level of assurance as an actual HSM (and are, as a result, orders of magnitude cheaper).| Publisher: | Amazon Original Stories |
| Copyright: | September 2019 |
| ISBN: | 1-5420-9206-X |
| ISBN: | 1-5420-4363-8 |
| ISBN: | 1-5420-9357-0 |
| ISBN: | 1-5420-0434-9 |
| ISBN: | 1-5420-4363-8 |
| ISBN: | 1-5420-4425-1 |
| Format: | Kindle |
| Pages: | 300 |
Containerfile (or Dockerfile if you prefer to name it this way) that
defines how to build a container image..gitlab-ci.yml file that defines what the CI should do. In the example
below, we want to build a container image and push it to the GitLab registry
associated with the GitLab repo.$ ls -A
Containerfile .git .gitlab-ci.yml
$ cat Containerfile
FROM debian:stable
RUN apt-get update
CMD echo hello world
$ cat .gitlab-ci.yml
build-container-image:
stage: build
image: debian:testing
before_script:
- apt-get update
- apt-get install -y buildah ca-certificates
script:
- buildah build -t $CI_REGISTRY_IMAGE .
- buildah login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY
- buildah push $CI_REGISTRY_IMAGE
buildah, but we could have used podman.docker, because its client/server design makes it
cumbersome to use in a CI environment: it requires a separate container to
run the Docker daemon, plus setting the DOCKER_HOST variable. Why bother?buildah build command, with a rather cryptic error:
$ buildah build --tag $CI_REGISTRY_IMAGE .
[...]
STEP 2/3: RUN apt-get update
error running container: did not get container start message from parent: EOF
Error: building at STEP "RUN apt-get update": netavark: code: 4, msg: iptables v1.8.8 (nf_tables): Could not fetch rule set generation id: Invalid argument
nf_tables... Back in July 2021, GitLab did a major update of
their shared runners infrastructure, and broke nftables support in the process,
as it seems.
So we have to use iptables instead.
Let's fix our .gitlab-ci.yml, which now looks like that:
$ cat .gitlab-ci.yml
build-container-image:
stage: build
image: debian:testing
before_script:
- apt-get update
- apt-get install -y buildah ca-certificates
-
# Switch to iptables legacy, as GitLab CI doesn't support nftables.
apt-get install -y --no-install-recommends iptables
update-alternatives --set iptables /usr/sbin/iptables-legacy
script:
- buildah build -t $CI_REGISTRY_IMAGE .
- buildah login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY
- buildah push $CI_REGISTRY_IMAGE
After more than a year, a new major FAI release is ready to download.
Following new features are included:
| Series: | October Daye #12 |
| Publisher: | DAW Books |
| Copyright: | 2018 |
| ISBN: | 0-698-18353-3 |
| Format: | Kindle |
| Pages: | 353 |
As many of you know, I work at UNAM, Mexico s largest university. My
work is split in two parts: My full-time job is to be the systems
and network administrator at the Economics Research
Institute, and I do some hours of teaching
at the Engineering Faculty.
At the Institute, my role is academic but although I have tried to
frame my works in a way amenable to analysis grounded on the Social
Sciences (Construcci n Colaborativa del
Conocimiento, Hecho con Creative
Commons, Mecanismos de privacidad y
anonimato), so far, I have not taken
part of academic collaboration with my coworkers Economics is a
field very far from my interests, to somehow illustrate it. I was very
happy when I was invited to be a part of a Seminar on The Digital
Economy in the age of Artificial Intelligence . I talked with the
coordinator, and we agreed we have many Economic Science experts but
understanding what does Artificial Intelligence mean eludes then, so
I will be writing one of the introductory chapters to this analysis.
But Hey, I m no expert in Artificial Intelligence. If anything, I
could be categorized as an AI-skeptical! Well, at least I might be the
closest thing at hand in the Institute So I have been thinking
about what I will be writing, and finding and reading material to
substantiate what I ll be writing.
One of the readings I determined early on I would be going back to is
Terry Winograd and Fernando Flores 1986 book, Understanding
Computers and Cognition: A New Foundation for
Design (oh, were
you expecting a link to buy
it
instead of reading it online?)
I first came across this book by mere chance. Back in the last day of
year 2000, my friend Ariel invited me and my then-girlfriend to tag
along and travel by land to the USA to catch some just-after-Christmas
deals in San Antonio. I was not into shopping, but have always enjoyed
road trips, so we went together. We went, yes, to the never-ending
clothing shops, but we also went to some big libraries And the
money I didn t spend at other shops, I spent there. And then some
more.
There was a little, somewhat oldish book that caught my eye. And I ll
be honest: I looked at this book only because it was obviously
produced by the LaTeX typesetting
system (the basics of which I learnt
in 1983, and with which I have written well, basically everything
substantial I ve ever done).
I remember I read this book with most interest back in that year, and
finished it with a Wow, that was a strange trip! And Although I
have never done much that could be considered AI-related, this has
always been my main reference. But not for explaining what is a
perceptron, how is an expert system to ponder the weight of given
information, or whether a neural network is convolutional or
recurrent, or how to turn from a network trained to recognize feature
x into a generational network. No, our book is not
technical. Well Not in that sense.
This book tackles cognition. But in order to discuss cognition, it
must first come to a proper definition of it. And to do so, it has to
base itself on philosophy, starting by noting the author s
disagreement with what they term as the rationalistic tradition:
what we have come to term valid reasoning in Western
countries. Their main claim is that the rationalistic tradition
cannot properly explain a process as complex as cognition (how much
bolder can you be than proposing something like this?). So, this book
presents many constructs of Heidggerian origin, aiming to explain what
it is understanding and being. In doing so, it follows Humberto
Maturana s work. Maturana is also a philosopher, but comes from a
background in biology he published works on animal neurophysiology
that are also presented here.
Writing this, I must ensure you I am not a philosopher, and lack
field-specific knowledge to know whether this book is so unique. I
know from the onset it does not directly help me to write the chapter
I will be writing (but it will surely help me write some important
caveats that will make the chapter much more interesting and different
to what anybody with a Web browser could write about artificial
intelligence).
One last note: Although very well written, and notable for bringing
hard to grasp concepts to mere technical staff as myself, this is
not light, easy reading. I started re-reading this book a couple of
weeks ago, and have just finished chapter 5 (page 69). As some
reviewers state, this is one of those books you have to go back a
paragraph or two over and over. But it is a most enjoyable and
interesting reading.
| Series: | Discworld #25 |
| Publisher: | Harper |
| Copyright: | November 2000 |
| Printing: | August 2014 |
| ISBN: | 0-06-230736-3 |
| Format: | Mass market |
| Pages: | 435 |
The world is made up of four elements: Earth, Air, Fire, and Water. This is a fact well known even to Corporal Nobbs. It's also wrong. There's a fifth element, and generally it's called Surprise. For example, the dwarfs found out how to turn lead into gold by doing it the hard way. The difference between that and the easy way is that the hard way works.The dwarfs used the lead to make a movable type printing press, which is about to turn William de Worde's small-scale, hand-crafted newsletter into a newspaper. The movable type printing press is not unknown technology. It's banned technology, because the powers that be in Ankh-Morpork know enough to be deeply suspicious of it. The religious establishment doesn't like it because words are too important and powerful to automate. The nobles and the Watch don't like it because cheap words cause problems. And the engraver's guild doesn't like it for obvious reasons. However, Lord Vetinari knows that one cannot apply brakes to a volcano, and commerce with the dwarfs is very important to the city. The dwarfs can continue. At least for now. As in Moving Pictures, most of The Truth is an idiosyncratic speedrun of the social effects of a new technology, this time newspapers. William has no grand plan; he's just an observant man who likes to write, cares a lot about the truth, and accidentally stumbles into editing a newspaper. (This, plus being an estranged son of a rich family, feels very on-point for journalism.) His naive belief is that people want to read true things, since that's what his original patrons wanted. Truth, however, may not be in the top five things people want from a newspaper. This setup requires some narrative force to push it along, which is provided by a plot to depose Vetinari by framing him for murder. The most interesting part of that story is Mr. Pin and Mr. Tulip, the people hired to do the framing and then dispose of the evidence. They're a classic villain type: the brains and the brawn, dangerous, terrifying, and willing to do horrible things to people. But one thing Pratchett excels at is taking a standard character type, turning it a bit sideways, and stuffing in things that one wouldn't think would belong. In this case, that's Mr. Tulip's deep appreciation for, and genius grasp of, fine art. It should not work to have the looming, awful person with anger issues be able to identify the exact heritage of every sculpture and fine piece of goldsmithing, and yet somehow it does. Also as in Moving Pictures (and, in a different way, Soul Music), Pratchett tends to anthropomorphize technology, giving it a life and motivations of its own. In this case, that's William's growing perception of the press as an insatiable maw into which one has to feed words. I'm usually dubious of shifting agency from humans to things when doing social analysis (and there's a lot of social analysis here), but I have to concede that Pratchett captures something deeply true about the experience of feedback loops with an audience. A lot of what Pratchett puts into this book about the problematic relationship between a popular press and the truth is obvious and familiar, but he also makes some subtle points about the way the medium shapes what people expect from it and how people produce content for it that are worthy of Marshall McLuhan. The interactions between William and the Watch were less satisfying. In our world, the US press is, with only rare exceptions, a thoughtless PR organ for police propaganda and the exonerative tense. Pratchett tackles that here... sort of. William vaguely grasps that his job as a reporter may be contrary to the job of the Watch to maintain order, and Vimes's ambivalent feelings towards "solving crimes" push the story in that direction. But this is also Vimes, who is clearly established as one of the good sort and therefore is a bad vehicle for talking about how the police corrupt the press. Pratchett has Vimes and Vetinari tacitly encourage William, which works within the story but takes the pressure off the conflict and leaves William well short of understanding the underlying politics. There's a lot more that could be said about the tension between the press and the authorities, but I think the Discworld setup isn't suitable for it. This is the sort of book that benefits from twenty-four volumes of backstory and practice. Pratchett's Ankh-Morpork cast ticks along like a well-oiled machine, which frees up space that would otherwise have to be spent on establishing secondary characters. The result is a lot of plot and social analysis shoved into a standard-length Discworld novel, and a story that's hard to put down. The balance between humor and plot is just about perfect, the references and allusions aren't overwhelming, and the supporting characters, both new and old, are excellent. We even get a good Death sequence. This is solid, consistent stuff: Discworld as a mature, well-developed setting with plenty of stories left to tell. Followed by Thief of Time in publication order, and later by Monstrous Regiment in the vaguely-connected industrial revolution sequence. Rating: 8 out of 10
Armadillo is a powerful
and expressive C++ template library for linear algebra and scientific
computing. It aims towards a good balance between speed and ease of use,
has a syntax deliberately close to Matlab, and is useful for algorithm
development directly in C++, or quick conversion of research code into
production environments. RcppArmadillo
integrates this library with the R environment and language and is
widely used by (currently) 1034 packages other packages on CRAN, downloaded 27.6 million
times (per the partial logs from the cloud mirrors of CRAN), and the CSDA paper (preprint
/ vignette) by Conrad and myself has been cited 509 times according
to Google Scholar.
This release brings another upstream bugfix interation 11.4.3,
released in accordance with the aimed-for monthly release cadence. We
had hoped to move away from suppressing deprecation warnings in this
release, and had prepared over two dozen patch sets all well as pull
requests as documented in issue
#391. However, it turns out that we both missed with one or two
needed set of changes as well as two other sets of changes triggering
deprecation warnings. So we expanded issue
#391, and added issue
#402 and prepared another eleven pull requests and patches today.
With that we can hopefully remove the suppression of these warnings by
an expected late of late April.
The full set of changes (since the last CRAN release 0.11.4.2.1)
follows.
Courtesy of my CRANberries, there is a diffstat report relative to previous release. More detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page. If you like this or other open-source work I do, you can sponsor me at GitHub.Changes in RcppArmadillo version 0.11.4.3.1 (2023-01-14)
- The
#define ARMA_IGNORE_DEPRECATED_MARKERremains active to suppress the (upstream) deprecation warnings, see #391 and #402 for details.Changes in RcppArmadillo version 0.11.4.3.0 (2022-12-28) (GitHub Only)
- Upgraded to Armadillo release 11.4.3 (Ship of Theseus)
- fix corner case in
pinv()when processing symmetric matrices- Protect the undefine of
NDEBUGbehind additional opt-in define
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Like each month, have a look at the work funded by Freexian s Debian LTS offering.
Long-term Linux users may remember that Alan Cox used to write an online diary. This was before the concept of a "Weblog" had really become a thing, and there certainly weren't any expectations around what one was used for - while now blogging tends to imply a reasonably long-form piece on a specific topic, Alan was just sitting there noting small life concerns or particular technical details in interesting problems he'd solved that day. For me, that was fascinating. I was trying to figure out how to get into kernel development, and was trying to read as much LKML as I could to figure out how kernel developers did stuff. But when you see discussion on LKML, you're frequently missing the early stages. If an LKML patch is a picture of an owl, I wanted to know how to draw the owl, and most of the conversations about starting in kernel development were very "Draw two circles. Now draw the rest of the owl". Alan's musings gave me insight into the thought processes involved in getting from "Here's the bug" to "Here's the patch" in ways that really wouldn't have worked in a more long-form medium.
A new release of our RApiDatetime
package is now on CRAN.
RApiDatetime
provides a number of entry points for C-level functions of the R API for
Date and Datetime calculations. The functions
asPOSIXlt and asPOSIXct convert between long
and compact datetime representation, formatPOSIXlt and
Rstrptime convert to and from character strings, and
POSIXlt2D and D2POSIXlt convert between
Date and POSIXlt datetime. Lastly,
asDatePOSIXct converts to a date type. All these functions
are rather useful, but were not previously exported by R for C-level use
by other packages. Which this package aims to change.
This release accomodates a CRAN request (as one does) to change (one
single) instance of sprintf() to snprintf().
No more, no less.
Courtesy of my CRANberries, there is are comparisons to the previous release. More information is on the rapidatetime page. For questions or comments please use the issue tracker off the GitHub repo.Changes in RApiDatetime version 0.0.8 (2023-01-14)
- Update one use of
sprinttosnprintf- Minor edits to DESCRIPTION
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Next.