CRAN Package Check Results for Package gemtc

Last updated on 2018-11-14 18:47:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8-2 7.13 96.44 103.57 OK
r-devel-linux-x86_64-debian-gcc 0.8-2 5.50 74.53 80.03 OK
r-devel-linux-x86_64-fedora-clang 0.8-2 119.03 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8-2 115.28 NOTE
r-devel-windows-ix86+x86_64 0.8-2 11.00 181.00 192.00 ERROR
r-patched-linux-x86_64 0.8-2 6.35 90.19 96.54 OK
r-patched-solaris-x86 0.8-2 152.90 OK
r-release-linux-x86_64 0.8-2 6.20 90.48 96.68 OK
r-release-windows-ix86+x86_64 0.8-2 22.00 139.00 161.00 OK
r-release-osx-x86_64 0.8-2 OK
r-oldrel-windows-ix86+x86_64 0.8-2 17.00 173.00 190.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-fedora-clang, r-devel-linux-x86_64-fedora-gcc

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.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

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