Running 'testthat.R' [171s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(measurementProtocol)
  > 
  > test_check("measurementProtocol")
  i 2024-03-23 16:59:22.752581 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-43MDXK6CLZ&api_secret=MY_SECRET   {   "client_id": "1234567",   "non_personalized_ads": true,   "events": [     {       "name": "an_event"     }   ] }
  -> POST /debug/mp/collect?measurement_id=G-43MDXK6CLZ&api_secret=MY_SECRET HTTP/1.1
  -> Host: www.google-analytics.com
  -> User-Agent: libcurl/8.3.0 r-curl/5.2.1 httr/1.4.7
  -> Accept-Encoding: deflate, gzip
  -> Accept: application/json, text/xml, application/xml, */*
  -> Content-Type: application/json
  -> Content-Length: 82
  -> 
  >> {"client_id":"1234567","non_personalized_ads":true,"events":[{"name":"an_event"}]}
  
  <- HTTP/1.1 200 OK
  <- Access-Control-Allow-Origin: *
  <- Content-Type: application/json; charset=UTF-8
  <- X-Content-Type-Options: nosniff
  <- Content-Encoding: gzip
  <- Date: Sat, 23 Mar 2024 15:59:29 GMT
  <- Server: MPVS
  <- Cache-Control: private
  <- X-XSS-Protection: 0
  <- X-Frame-Options: SAMEORIGIN
  <- Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  <- Transfer-Encoding: chunked
  <- 
  i 2024-03-23 16:59:22.943135 > Response:  200
  i 2024-03-23 16:59:23.07569 > No validation messages found
  i 2024-03-23 16:59:23.16499 > MP Request: https://www.google-analytics.com/debug/mp/collect?measurement_id=G-43MDXK6CLZ&api_secret=MY_SECRET   {   "client_id": "1234567",   "non_personalized_ads": true,   "events": [     {       "name": "_an_event"     }   ] }
  -> POST /debug/mp/collect?measurement_id=G-43MDXK6CLZ&api_secret=MY_SECRET HTTP/1.1
  -> Host: www.google-analytics.com
  -> User-Agent: libcurl/8.3.0 r-curl/5.2.1 httr/1.4.7
  -> Accept-Encoding: deflate, gzip
  -> Accept: application/json, text/xml, application/xml, */*
  -> Content-Type: application/json
  -> Content-Length: 83
  -> 
  >> {"client_id":"1234567","non_personalized_ads":true,"events":[{"name":"_an_event"}]}
  
  <- HTTP/1.1 200 OK
  <- Access-Control-Allow-Origin: *
  <- Content-Type: application/json; charset=UTF-8
  <- X-Content-Type-Options: nosniff
  <- Content-Encoding: gzip
  <- Date: Sat, 23 Mar 2024 15:59:29 GMT
  <- Server: MPVS
  <- Cache-Control: private
  <- X-XSS-Protection: 0
  <- X-Frame-Options: SAMEORIGIN
  <- Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  <- Transfer-Encoding: chunked
  <- 
  i 2024-03-23 16:59:23.206083 > Response:  200
  [ FAIL 0 | WARN 0 | SKIP 1 | PASS 1 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test_mp.R:18:3'
  
  [ FAIL 0 | WARN 0 | SKIP 1 | PASS 1 ]
  > 
  > proc.time()
     user  system elapsed 
     0.98    0.14    1.20