CRAN Package Check Results for Package gemtc

Last updated on 2018-08-22 08:48:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8-2 7.14 94.02 101.16 NOTE
r-devel-linux-x86_64-debian-gcc 0.8-2 6.44 73.85 80.29 NOTE
r-devel-linux-x86_64-fedora-clang 0.8-2 119.09 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8-2 113.94 NOTE
r-devel-windows-ix86+x86_64 0.8-2 11.00 121.00 132.00 ERROR
r-patched-linux-x86_64 0.8-2 6.61 89.88 96.49 NOTE
r-patched-solaris-x86 0.8-2 153.40 OK
r-release-linux-x86_64 0.8-2 5.71 89.14 94.85 NOTE
r-release-windows-ix86+x86_64 0.8-2 18.00 189.00 207.00 OK
r-release-osx-x86_64 0.8-2 OK
r-oldrel-windows-ix86+x86_64 0.8-2 10.00 235.00 245.00 OK
r-oldrel-osx-x86_64 0.8-2 OK

Check Details

Version: 0.8-2
Check: compiled code
Result: NOTE
    File ‘gemtc/libs/gemtc.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.8-2
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'gemtc-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: mtc.network
    > ### Title: Create an mtc.network
    > ### Aliases: mtc.network plot.mtc.network
    >
    > ### ** Examples
    >
    > # Create a new network by specifying all information.
    > treatments <- read.table(textConnection('
    + id description
    + A "Treatment A"
    + B "Treatment B"
    + C "Treatment C"'), header=TRUE)
    > data <- read.table(textConnection('
    + study treatment responders sampleSize
    + 01 A 2 100
    + 01 B 5 100
    + 02 B 6 110
    + 02 C 1 110
    + 03 A 3 60
    + 03 C 4 80
    + 03 B 7 80'), header=TRUE)
    > network <- mtc.network(data, description="Example", treatments=treatments)
    > plot(network)
    >
    > # Create a new network by specifying only the data.
    > data <- read.table(textConnection('
    + study treatment mean std.dev sampleSize
    + 01 A -1.12 0.6 15
    + 01 B -1.55 0.5 16
    + 02 A -0.8 0.7 33
    + 02 B -1.1 0.5 31'), header=TRUE)
    > network <- mtc.network(data)
    >
    > # Print the network
    > print(network)
    MTC dataset: Network
    Arm-level data:
     study treatment mean std.dev sampleSize
    1 1 A -1.12 0.6 15
    2 1 B -1.55 0.5 16
    3 2 A -0.80 0.7 33
    4 2 B -1.10 0.5 31
    > ## MTC dataset: Network
    > ## study treatment mean std.dev sampleSize
    > ## 1 1 A -1.12 0.6 15
    > ## 2 1 B -1.55 0.5 16
    > ## 3 2 A -0.80 0.7 33
    > ## 4 2 B -1.10 0.5 31
    >
    >
    >
    > cleanEx()
    Error: connections left open:
     "\n id description\n A \"Treatment A\"\n B \"Treatment B\"\n C \"Treatment C\"" (textConnection)
     "\n study treatment responders sampleSize\n 01 A 2 100\n 01 B 5 100\n 02 B 6 110\n 02 C 1 110\n 03 A 3 60\n 03 C 4 80\n 03 B 7 80" (textConnection)
     "\n study treatment mean std.dev sampleSize\n 01 A -1.12 0.6 15\n 01 B -1.55 0.5 16\n 02 A -0.8 0.7 33\n 02 B -1.1 0.5 31" (textConnection)
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.8-2
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'gemtc-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: mtc.data.studyrow
    > ### Title: Convert one-study-per-row datasets
    > ### Aliases: mtc.data.studyrow
    >
    > ### ** Examples
    >
    > ## Example taken from the NICE DSU TSD series in Evidence Synthesis, #2
    > ## Dopamine agonists for the treatment of Parkinson's
    >
    > # Read the bugs-formatted data
    > data.src <- read.table(textConnection('
    + t[,1] t[,2] t[,3] y[,1] y[,2] y[,3] se[,1] se[,2] se[,3] na[]
    + 1 3 NA -1.22 -1.53 NA 0.504 0.439 NA 2
    + 1 2 NA -0.7 -2.4 NA 0.282 0.258 NA 2
    + 1 2 4 -0.3 -2.6 -1.2 0.505 0.510 0.478 3
    + 3 4 NA -0.24 -0.59 NA 0.265 0.354 NA 2
    + 3 4 NA -0.73 -0.18 NA 0.335 0.442 NA 2
    + 4 5 NA -2.2 -2.5 NA 0.197 0.190 NA 2
    + 4 5 NA -1.8 -2.1 NA 0.200 0.250 NA 2'), header=TRUE)
    >
    > # Convert the data, setting treatment names
    > data <- mtc.data.studyrow(data.src,
    + armVars=c('treatment'='t', 'mean'='y', 'std.err'='se'),
    + treatmentNames=c('Placebo', 'DA1', 'DA2', 'DA3', 'DA4'))
    >
    > # Check that the data are correct
    > print(data)
     study treatment mean std.err
    1 1 Placebo -1.22 0.504
    2 1 DA2 -1.53 0.439
    3 2 Placebo -0.70 0.282
    4 2 DA1 -2.40 0.258
    5 3 Placebo -0.30 0.505
    6 3 DA1 -2.60 0.510
    7 3 DA3 -1.20 0.478
    8 4 DA2 -0.24 0.265
    9 4 DA3 -0.59 0.354
    10 5 DA2 -0.73 0.335
    11 5 DA3 -0.18 0.442
    12 6 DA3 -2.20 0.197
    13 6 DA4 -2.50 0.190
    14 7 DA3 -1.80 0.200
    15 7 DA4 -2.10 0.250
    >
    > # Create a network
    > network <- mtc.network(data)
    >
    >
    >
    > cleanEx()
    Error: connections left open:
     "\nt[,1]\tt[,2]\tt[,3]\ty[,1]\ty[,2]\ty[,3]\tse[,1]\tse[,2]\tse[,3]\tna[]\n1\t3\tNA\t-1.22\t-1.53\tNA\t0.504\t0.439\tNA\t2\n1\t2\tNA\t-0.7\t-2.4\tNA\t0.282\t0.258\tNA\t2\n1\t2\t4\t-0.3\t-2.6\t-1.2\t0.505\t0.510\t0.478\t3\n3\t4\tNA\t-0.24\t-0.59\tNA\t0.265\t0.354\tNA\t2\n3\t4\tNA\t-0.73\t-0.18\tNA\t0.335\t0.442\tNA\t2\n4\t5\tNA\t-2.2\t-2.5\tNA\t0.197\t0.190\tNA\t2\n4\t5\tNA\t-1.8\t-2.1\tNA\t0.200\t0.250\tNA\t2" (textConnection)
    Execution halted
Flavor: r-devel-windows-ix86+x86_64