Running examples in ‘excluder-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: check_ip
> ### Title: Check for IP addresses from outside of a specified country.
> ### Aliases: check_ip
> 
> ### ** Examples
> 
> # Check for IP addresses outside of the US
> data(qualtrics_text)
> check_ip(qualtrics_text)
ℹ 2 out of 100 rows had NA values for IP addresses (check for preview data with 'check_preview()').
ℹ 4 out of 100 rows had IP address outside of US.
            StartDate             EndDate     Status   IPAddress Progress
1 2020-12-11 16:59:08 2020-12-11 17:02:05 IP Address 84.56.189.0      100
2 2020-12-11 17:09:18 2020-12-11 17:16:57 IP Address 31.252.29.0      100
3 2020-12-17 15:47:37 2020-12-17 15:51:33 IP Address 89.167.14.0      100
4 2020-12-17 15:49:28 2020-12-17 15:55:06 IP Address  2.246.67.0       44
  Duration (in seconds) Finished        RecordedDate        ResponseId
1                    54     TRUE 2020-12-11 17:02:05 R_2RQ5kfCKKHudpj3
2                   229     TRUE 2020-12-11 17:16:57 R_XUU5qhep0Xe1GyW
3                   297     TRUE 2020-12-17 15:51:33 R_bEHQBqkV97IcXfD
4                   355    FALSE 2020-12-17 15:55:06 R_UfSQq1VXYkVcxdJ
  LocationLatitude LocationLongitude UserLanguage Browser      Version
1         43.23353         -77.55959           EN  Chrome 87.0.4280.88
2         33.87347        -117.92215           EN  Chrome 87.0.4280.88
3         35.39816         -78.81702           EN  Chrome 87.0.4280.88
4         37.79058        -121.96737           EN  Chrome 87.0.4280.67
  Operating System Resolution
1  Windows NT 10.0   1600x900
2  Windows NT 10.0   1366x768
3        Macintosh   1280x800
4        Macintosh   1280x800
> 
> # Remove preview data first
> qualtrics_text %>%
+   exclude_preview() %>%
+   check_ip()
ℹ 2 out of 100 preview rows were excluded, leaving 98 rows.
ℹ 4 out of 98 rows had IP address outside of US.
            StartDate             EndDate     Status   IPAddress Progress
1 2020-12-11 16:59:08 2020-12-11 17:02:05 IP Address 84.56.189.0      100
2 2020-12-11 17:09:18 2020-12-11 17:16:57 IP Address 31.252.29.0      100
3 2020-12-17 15:47:37 2020-12-17 15:51:33 IP Address 89.167.14.0      100
4 2020-12-17 15:49:28 2020-12-17 15:55:06 IP Address  2.246.67.0       44
  Duration (in seconds) Finished        RecordedDate        ResponseId
1                    54     TRUE 2020-12-11 17:02:05 R_2RQ5kfCKKHudpj3
2                   229     TRUE 2020-12-11 17:16:57 R_XUU5qhep0Xe1GyW
3                   297     TRUE 2020-12-17 15:51:33 R_bEHQBqkV97IcXfD
4                   355    FALSE 2020-12-17 15:55:06 R_UfSQq1VXYkVcxdJ
  LocationLatitude LocationLongitude UserLanguage Browser      Version
1         43.23353         -77.55959           EN  Chrome 87.0.4280.88
2         33.87347        -117.92215           EN  Chrome 87.0.4280.88
3         35.39816         -78.81702           EN  Chrome 87.0.4280.88
4         37.79058        -121.96737           EN  Chrome 87.0.4280.67
  Operating System Resolution
1  Windows NT 10.0   1600x900
2  Windows NT 10.0   1366x768
3        Macintosh   1280x800
4        Macintosh   1280x800
> 
> # Check for IP addresses outside of Germany
> qualtrics_text %>%
+   exclude_preview() %>%
+   check_ip(country = "DE")
ℹ 2 out of 100 preview rows were excluded, leaving 98 rows.
Error in `ipaddress::country_networks()`:
! Can't download networks for any country
ℹ Is server down? <https://www.iwik.org/ipcountry/>
ℹ Check country codes are valid: "DE"
Backtrace:
     ▆
  1. ├─qualtrics_text %>% exclude_preview() %>% check_ip(country = "DE")
  2. ├─excluder::check_ip(., country = "DE")
  3. │ ├─... %>% keep_marked_column(.data$exclusion_ip, keep)
  4. │ └─excluder::mark_ip(...)
  5. │   └─ipaddress::country_networks(country = country)
  6. │     └─cli::cli_abort(msg, arg = "country")
  7. │       └─rlang::abort(...)
  8. ├─excluder:::keep_marked_column(., .data$exclusion_ip, keep)
  9. │ └─`%>%`(...)
 10. ├─dplyr::select(...)
 11. └─dplyr::filter(., .data$exclusion_ip == "ip")
Execution halted