CHECK report for TypeInfo on machv2
This page was generated on 2020-10-17 11:59:51 -0400 (Sat, 17 Oct 2020).
|
TO THE DEVELOPERS/MAINTAINERS OF THE TypeInfo PACKAGE: Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
|
|
TypeInfo 1.54.0 Duncan Temple Lang
Snapshot Date: 2020-10-16 14:40:19 -0400 (Fri, 16 Oct 2020) |
URL: https://git.bioconductor.org/packages/TypeInfo |
Branch: RELEASE_3_11 |
Last Commit: e81f346 |
Last Changed Date: 2020-04-27 14:13:23 -0400 (Mon, 27 Apr 2020) |
| malbec2 | Linux (Ubuntu 18.04.4 LTS) / x86_64 | OK | OK | OK | | |
tokay2 | Windows Server 2012 R2 Standard / x64 | OK | OK | OK | NA | |
machv2 | macOS 10.14.6 Mojave / x86_64 | OK | OK | [ OK ] | OK | |
Summary
Command output
Installation output
TypeInfo.Rcheck/00install.out
Tests output
TypeInfo.Rcheck/tests/copyEnv.Rout
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Biobase)
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
> library(TypeInfo)
> typeInfo( copyEnv ) <-
+ SimultaneousTypeSpecification(
+ TypedSignature(
+ oldEnv = "environment" ,
+ newEnv = "environment" ,
+ all.names = "logical"
+ ),
+ returnType = "vector")
>
> proc.time()
user system elapsed
1.161 0.115 1.252
TypeInfo.Rcheck/tests/copySubstitute.Rout
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(TypeInfo)
> require(Biobase)
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
> copySubstitute <- Biobase::copySubstitute
>
>
> typeInfo( copySubstitute ) <-
+ IndependentTypeSpecification(
+ src = c("character", "connection"),
+ dest = expression(is(dest, class(src))),
+ symbolValues = "list" ,
+ symbolDelimiter = expression(is.character(symbolDelimiter) &&
+ length(symbolDelimiter) == 1 &&
+ all(nchar(symbolDelimiter) == 1)),
+ allowUnresolvedSymbols = "logical" ,
+ recursive = "logical" ,
+ removeExtension = "character",
+ returnType = "NULL")
>
>
> infile = tempfile()
> outfile = tempfile()
>
> writeLines(text=c("We will perform in @WHAT@:",
+ "So, thanks to @WHOM@ at once and to each one,",
+ "Whom we invite to see us crown'd at @WHERE@."),
+ con = infile)
>
> ## create the symbol table
> z = list(WHAT="measure, time and place", WHOM="all", WHERE="Scone")
>
> ## run copySubstitute
> copySubstitute(infile, outfile, z)
NULL
>
> cat("Next call should be an error\n")
Next call should be an error
> ## should be caught, but is not
> tryCatch({
+ copySubstitute(123, outfile, z);
+ stop("should have caught that!")
+ }, error=function(err) {})
NULL
>
> proc.time()
user system elapsed
1.355 0.120 1.452
Example timings
TypeInfo.Rcheck/TypeInfo-Ex.timings