Last updated on 2024-11-05 08:48:33 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.1 | 4.15 | 40.24 | 44.39 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.2.1 | 3.19 | 30.82 | 34.01 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.2.1 | 77.63 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.1 | 84.64 | ERROR | |||
r-devel-windows-x86_64 | 0.2.0 | 7.00 | 63.00 | 70.00 | ERROR | |
r-patched-linux-x86_64 | 0.2.0 | 4.01 | 36.09 | 40.10 | ERROR | |
r-release-linux-x86_64 | 0.2.0 | 4.00 | 36.23 | 40.23 | ERROR | |
r-release-macos-arm64 | 0.2.1 | 46.00 | ERROR | |||
r-release-macos-x86_64 | 0.2.1 | 63.00 | OK | |||
r-release-windows-x86_64 | 0.2.0 | 8.00 | 62.00 | 70.00 | ERROR | |
r-oldrel-macos-arm64 | 0.2.1 | 47.00 | ERROR | |||
r-oldrel-macos-x86_64 | 0.2.1 | 60.00 | OK | |||
r-oldrel-windows-x86_64 | 0.2.0 | 7.00 | 69.00 | 76.00 | ERROR |
Version: 0.2.1
Check: examples
Result: ERROR
Running examples in ‘dhis2r-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Dhis2r
> ### Title: Connect and pull/get data from a DHIS2 instance
> ### Aliases: Dhis2r
>
> ### ** Examples
>
> # Load dhis2r
> library(dhis2r)
> # connect to the DHIS2 instance
> dhis2_play_connection <- Dhis2r$new(base_url = "https://play.im.dhis2.org/stable-2-40-5",
+ username = "admin",
+ password = "district")
>
> # get all the available resources
> dhis2_play_connection$get_metadata()
[1] "https://play.im.dhis2.org/stable-2-40-5/api/resources"
# A tibble: 89 × 4
displayName singular plural href
<chr> <chr> <chr> <chr>
1 Indicator Groups indicatorGroup indic… http…
2 Organisation Unit Group Sets organisationUnitGroupSet organ… http…
3 Validation Notification Templates validationNotificationTemplate valid… http…
4 Legend Sets legendSet legen… http…
5 Categories category categ… http…
6 Program Data Elements programDataElement progr… http…
7 Tracked Entity Types trackedEntityType track… http…
8 External File Resources externalFileResource exter… http…
9 Program Indicator Groups programIndicatorGroup progr… http…
10 Event Reports eventReport event… http…
# ℹ 79 more rows
>
> # get organisation Units with the default fields i.e c("name","id")
>
> dhis2_play_connection$get_metadata(endpoint = "organisationUnits")
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=name%2Cid"
# A tibble: 5 × 1
`response_data[[1]]`
<named list>
1 <int [1]>
2 <int [1]>
3 <int [1]>
4 <chr [1]>
5 <int [1]>
>
> # get a vector of all possible fields of a organisation unit resource
> dhis2_play_connection$get_metadata_fields(endpoint = "organisationUnits")
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=%3Aall&paging=true&pageSize=1"
[1] "access" "ancestors" "attributeValues"
[4] "children" "code" "created"
[7] "dataSets" "dimensionItem" "dimensionItemType"
[10] "displayFormName" "displayName" "displayShortName"
[13] "externalAccess" "favorite" "favorites"
[16] "href" "id" "lastUpdated"
[19] "leaf" "legendSets" "level"
[22] "name" "openingDate" "organisationUnitGroups"
[25] "parent" "path" "programs"
[28] "sharing" "shortName" "translations"
[31] "userAccesses" "userGroupAccesses" "users"
>
> # get organisation Units with additional fields i.e c("name","id", "level")
>
> dhis2_play_connection$get_metadata(endpoint = "organisationUnits",
+ fields = c("name","id", "level"))
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=name%2Cid%2Clevel"
# A tibble: 5 × 1
`response_data[[1]]`
<named list>
1 <int [1]>
2 <int [1]>
3 <int [1]>
4 <chr [1]>
5 <int [1]>
>
> dhis2_play_connection$get_analytics(analytic = c("Uvn6LCg7dVU"),
+ org_unit = c("O6uvpzGd5pu", "fdc6uOvgoji"),
+ period = "LAST_12_MONTHS",
+ output_scheme = "NAME")
Error in `req_perform()`:
! HTTP 409 Conflict.
Backtrace:
▆
1. └─dhis2_play_connection$get_analytics(...)
2. └─httr2::req_perform(...)
3. └─httr2:::handle_resp(req, resp, error_call = error_call)
4. └─httr2:::resp_abort(resp, req, body, call = error_call)
5. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.2.1
Check: examples
Result: ERROR
Running examples in ‘dhis2r-Ex.R’ failed
The error most likely occurred in:
> ### Name: Dhis2r
> ### Title: Connect and pull/get data from a DHIS2 instance
> ### Aliases: Dhis2r
>
> ### ** Examples
>
> # Load dhis2r
> library(dhis2r)
> # connect to the DHIS2 instance
> dhis2_play_connection <- Dhis2r$new(base_url = "https://play.im.dhis2.org/stable-2-40-5",
+ username = "admin",
+ password = "district")
>
> # get all the available resources
> dhis2_play_connection$get_metadata()
[1] "https://play.im.dhis2.org/stable-2-40-5/api/resources"
# A tibble: 89 × 4
displayName singular plural href
<chr> <chr> <chr> <chr>
1 Indicator Groups indicatorGroup indic… http…
2 Organisation Unit Group Sets organisationUnitGroupSet organ… http…
3 Validation Notification Templates validationNotificationTemplate valid… http…
4 Legend Sets legendSet legen… http…
5 Categories category categ… http…
6 Program Data Elements programDataElement progr… http…
7 Tracked Entity Types trackedEntityType track… http…
8 External File Resources externalFileResource exter… http…
9 Program Indicator Groups programIndicatorGroup progr… http…
10 Event Reports eventReport event… http…
# ℹ 79 more rows
>
> # get organisation Units with the default fields i.e c("name","id")
>
> dhis2_play_connection$get_metadata(endpoint = "organisationUnits")
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=name%2Cid"
# A tibble: 5 × 1
`response_data[[1]]`
<named list>
1 <int [1]>
2 <int [1]>
3 <int [1]>
4 <chr [1]>
5 <int [1]>
>
> # get a vector of all possible fields of a organisation unit resource
> dhis2_play_connection$get_metadata_fields(endpoint = "organisationUnits")
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=%3Aall&paging=true&pageSize=1"
[1] "access" "ancestors" "attributeValues"
[4] "children" "code" "created"
[7] "dataSets" "dimensionItem" "dimensionItemType"
[10] "displayFormName" "displayName" "displayShortName"
[13] "externalAccess" "favorite" "favorites"
[16] "href" "id" "lastUpdated"
[19] "leaf" "legendSets" "level"
[22] "name" "openingDate" "organisationUnitGroups"
[25] "parent" "path" "programs"
[28] "sharing" "shortName" "translations"
[31] "userAccesses" "userGroupAccesses" "users"
>
> # get organisation Units with additional fields i.e c("name","id", "level")
>
> dhis2_play_connection$get_metadata(endpoint = "organisationUnits",
+ fields = c("name","id", "level"))
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=name%2Cid%2Clevel"
# A tibble: 5 × 1
`response_data[[1]]`
<named list>
1 <int [1]>
2 <int [1]>
3 <int [1]>
4 <chr [1]>
5 <int [1]>
>
> dhis2_play_connection$get_analytics(analytic = c("Uvn6LCg7dVU"),
+ org_unit = c("O6uvpzGd5pu", "fdc6uOvgoji"),
+ period = "LAST_12_MONTHS",
+ output_scheme = "NAME")
Error in `req_perform()`:
! HTTP 409 Conflict.
Backtrace:
▆
1. └─dhis2_play_connection$get_analytics(...)
2. └─httr2::req_perform(...)
3. └─httr2:::handle_resp(req, resp, error_call = error_call)
4. └─httr2:::resp_abort(resp, req, body, call = error_call)
5. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-oldrel-macos-arm64
Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'dhis2r.Rmd' using rmarkdown
Quitting from lines 36-38 [unnamed-chunk-3] (dhis2r.Rmd)
Error: processing vignette 'dhis2r.Rmd' failed with diagnostics:
HTTP 401 Unauthorized.
--- failed re-building 'dhis2r.Rmd'
SUMMARY: processing the following file failed:
'dhis2r.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘dhis2r.Rmd’ using rmarkdown
Quitting from lines 36-38 [unnamed-chunk-3] (dhis2r.Rmd)
Error: processing vignette 'dhis2r.Rmd' failed with diagnostics:
HTTP 401 Unauthorized.
--- failed re-building ‘dhis2r.Rmd’
SUMMARY: processing the following file failed:
‘dhis2r.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in 'dhis2r-Ex.R' failed
The error most likely occurred in:
> ### Name: Dhis2r
> ### Title: Connect and pull/get data from a DHIS2 instance
> ### Aliases: Dhis2r
>
> ### ** Examples
>
> # Load dhis2r
> library(dhis2r)
> # connect to the DHIS2 instance
> dhis2_play_connection <- Dhis2r$new(base_url = "https://play.im.dhis2.org/stable-2-40-5",
+ username = "admin",
+ password = "district")
>
> # get all the available resources
> dhis2_play_connection$get_metadata()
[1] "https://play.im.dhis2.org/stable-2-40-5/api/resources"
# A tibble: 89 × 4
displayName singular plural href
<chr> <chr> <chr> <chr>
1 Indicator Groups indicatorGroup indic… http…
2 Organisation Unit Group Sets organisationUnitGroupSet organ… http…
3 Validation Notification Templates validationNotificationTemplate valid… http…
4 Legend Sets legendSet legen… http…
5 Categories category categ… http…
6 Program Data Elements programDataElement progr… http…
7 Tracked Entity Types trackedEntityType track… http…
8 External File Resources externalFileResource exter… http…
9 Program Indicator Groups programIndicatorGroup progr… http…
10 Event Reports eventReport event… http…
# ℹ 79 more rows
>
> # get organisation Units with the default fields i.e c("name","id")
>
> dhis2_play_connection$get_metadata(endpoint = "organisationUnits")
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=name%2Cid"
# A tibble: 5 × 1
`response_data[[1]]`
<named list>
1 <int [1]>
2 <int [1]>
3 <int [1]>
4 <chr [1]>
5 <int [1]>
>
> # get a vector of all possible fields of a organisation unit resource
> dhis2_play_connection$get_metadata_fields(endpoint = "organisationUnits")
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=%3Aall&paging=true&pageSize=1"
[1] "access" "ancestors" "attributeValues"
[4] "children" "code" "created"
[7] "dataSets" "dimensionItem" "dimensionItemType"
[10] "displayFormName" "displayName" "displayShortName"
[13] "externalAccess" "favorite" "favorites"
[16] "href" "id" "lastUpdated"
[19] "leaf" "legendSets" "level"
[22] "name" "openingDate" "organisationUnitGroups"
[25] "parent" "path" "programs"
[28] "sharing" "shortName" "translations"
[31] "userAccesses" "userGroupAccesses" "users"
>
> # get organisation Units with additional fields i.e c("name","id", "level")
>
> dhis2_play_connection$get_metadata(endpoint = "organisationUnits",
+ fields = c("name","id", "level"))
[1] "https://play.im.dhis2.org/stable-2-40-5/api/organisationUnits?fields=name%2Cid%2Clevel"
# A tibble: 5 × 1
`response_data[[1]]`
<named list>
1 <int [1]>
2 <int [1]>
3 <int [1]>
4 <chr [1]>
5 <int [1]>
>
> dhis2_play_connection$get_analytics(analytic = c("Uvn6LCg7dVU"),
+ org_unit = c("O6uvpzGd5pu", "fdc6uOvgoji"),
+ period = "LAST_12_MONTHS",
+ output_scheme = "NAME")
Error in `req_perform()`:
! HTTP 409 Conflict.
Backtrace:
▆
1. └─dhis2_play_connection$get_analytics(...)
2. └─httr2::req_perform(...)
3. └─httr2:::handle_resp(req, resp, error_call = error_call)
4. └─httr2:::resp_abort(resp, req, body, call = error_call)
5. └─rlang::abort(...)
Execution halted
Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64