Last updated on 2024-06-14 05:00:32 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.3.1 | 47.33 | 58.73 | 106.06 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.3.1 | 30.22 | 38.97 | 69.19 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.3.1 | 140.43 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.3.1 | 136.93 | OK | |||
r-devel-windows-x86_64 | 1.3.1 | 34.00 | 82.00 | 116.00 | OK | |
r-patched-linux-x86_64 | 1.3.1 | 36.72 | 56.85 | 93.57 | OK | |
r-release-linux-x86_64 | 1.3.1 | 36.77 | 55.96 | 92.73 | OK | |
r-release-macos-arm64 | 1.3.1 | 37.00 | OK | |||
r-release-macos-x86_64 | 1.3.1 | 58.00 | OK | |||
r-release-windows-x86_64 | 1.3.1 | 34.00 | 86.00 | 120.00 | OK | |
r-oldrel-macos-arm64 | 1.3.1 | 47.00 | OK | |||
r-oldrel-macos-x86_64 | 1.3.1 | 58.00 | OK | |||
r-oldrel-windows-x86_64 | 1.3.1 | 42.00 | 97.00 | 139.00 | OK |
Version: 1.3.1
Check: package dependencies
Result: NOTE
Packages suggested but not available for checking: 'statnet', 'ggplot2'
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.3.1
Check: examples
Result: ERROR
Running examples in ‘rem-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: degreeStat
> ### Title: Calculate (in/out)-degree statistics
> ### Aliases: degreeStat degree outdegree indegree
>
> ### ** Examples
>
> # create some data with 'sender', 'target' and a 'time'-variable
> # (Note: Data used here are random events from the Correlates of War Project)
> sender <- c('TUN', 'NIR', 'NIR', 'TUR', 'TUR', 'USA', 'URU',
+ 'IRQ', 'MOR', 'BEL', 'EEC', 'USA', 'IRN', 'IRN',
+ 'USA', 'AFG', 'ETH', 'USA', 'SAU', 'IRN', 'IRN',
+ 'ROM', 'USA', 'USA', 'PAN', 'USA', 'USA', 'YEM',
+ 'SYR', 'AFG', 'NAT', 'NAT', 'USA')
> target <- c('BNG', 'ZAM', 'JAM', 'SAU', 'MOM', 'CHN', 'IRQ',
+ 'AFG', 'AFG', 'EEC', 'BEL', 'ITA', 'RUS', 'UNK',
+ 'IRN', 'RUS', 'AFG', 'ISR', 'ARB', 'USA', 'USA',
+ 'USA', 'AFG', 'IRN', 'IRN', 'IRN', 'AFG', 'PAL',
+ 'ARB', 'USA', 'EEC', 'BEL', 'PAK')
> time <- c('800107', '800107', '800107', '800109', '800109',
+ '800109', '800111', '800111', '800111', '800113',
+ '800113', '800113', '800114', '800114', '800114',
+ '800116', '800116', '800116', '800119', '800119',
+ '800119', '800122', '800122', '800122', '800124',
+ '800125', '800125', '800127', '800127', '800127',
+ '800204', '800204', '800204')
> type <- sample(c('cooperation', 'conflict'), 33,
+ replace = TRUE)
>
> # combine them into a data.frame
> dt <- data.frame(sender, target, time, type)
>
> # create event sequence and order the data
> dt <- eventSequence(datevar = dt$time, dateformat = "%y%m%d",
+ data = dt, type = "continuous",
+ byTime = "daily", returnData = TRUE,
+ sortData = TRUE)
>
> # create counting process data set (with null-events) - conditional logit setting
> dts <- createRemDataset(dt, dt$sender, dt$target, dt$event.seq.cont,
+ eventAttribute = dt$type,
+ atEventTimesOnly = TRUE, untilEventOccurrs = TRUE,
+ returnInputData = TRUE)
> ## divide up the results: counting process data = 1, original data = 2
> dtrem <- dts[[1]]
> dt <- dts[[2]]
> ## merge all necessary event attribute variables back in
> dtrem$type <- dt$type[match(dtrem$eventID, dt$eventID)]
> dtrem$important <- dt$important[match(dtrem$eventID, dt$eventID)]
> # manually sort the data set
> dtrem <- dtrem[order(dtrem$eventTime), ]
>
> # calculate sender-outdegree statistic
> dtrem$sender.outdegree <- degreeStat(data = dtrem,
+ time = dtrem$eventTime,
+ degreevar = dtrem$sender,
+ halflife = 2,
+ eventvar = dtrem$eventDummy,
+ returnData = FALSE)
>
> # plot sender-outdegree over time
> library("ggplot2")
Error in library("ggplot2") : there is no package called ‘ggplot2’
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc