Displaying 5 results from an estimated 5 matches for "fastdigest".
2018 Mar 13
2
importing namespaces from base packages
...the checks.
The question was related to the relation between the packages mentioned in
the NAMESPACE and the packages mentioned in the Imports: field from
DESCRIPTION.
For instance, the current version 3.1 of package QCA on CRAN mentions in
the DESCRIPTION:
Imports: venn (? 1.2), shiny, methods, fastdigest
while the NAMESPACE file has:
import(shiny)
import(venn)
import(fastdigest)
importFrom("utils", "packageDescription", "remove.packages",
"capture.output")
importFrom("stats", "glm", "predict", "quasibinomial", "b...
2018 Mar 13
0
importing namespaces from base packages
...relation between the packages mentioned in
> the NAMESPACE and the packages mentioned in the Imports: field from
> DESCRIPTION.
> For instance, the current version 3.1 of package QCA on CRAN mentions in
> the DESCRIPTION:
> Imports: venn (? 1.2), shiny, methods, fastdigest
> while the NAMESPACE file has:
> import(shiny)
> import(venn)
> import(fastdigest)
> importFrom("utils", "packageDescription", "remove.packages",
> "capture.output")
> importFrom("stats", "glm...
2018 Mar 09
2
importing namespaces from base packages
Dear All,
I understand the R CMD checks with only the base package attached,
everything else (including the other packages bundled with the base R)
should be imported and most importantly declared in the Imports field from
the DESCRIPTION file.
However, I do use functions from other packages than base (utils,
grDevices, stats, graphics), for which it is sufficient to declare
importFrom() in the
2020 May 01
1
Request: tools::md5sum should accept connections and finally in-memory objects
On 5/1/20 11:09 PM, John Mount wrote:
> Perhaps use the digest package? Isn't "R the R packages?"
I think it is clear that I am aware of the existence of the digest
package and also of other packages with similar functionality, e.g. the
fastdigest package. (And I actually do use digest as I guess 99% percent
of the R developers do at least as an indirect dependency.) The point is
that
a) digest is a wonderful and very stable package, but still, it is a
user-contributed package, whereas
b) 'tools' is a base package which is include...
2020 May 01
4
Request: tools::md5sum should accept connections and finally in-memory objects
AFAIK there is no hashing utility in base R which can create hash
digests of arbitrary R objects. However, as also described by Henrik
Bengtsson in [1], we have tools::md5sum() which calculates MD5 hashes of
files. Calculating hashes of in-memory objects is a very common task in
several areas, as demonstrated by the popularity of the 'digest' package
(~850.000 downloads/month).
Upon