diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index d0020be..fa11d97 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -44,7 +44,9 @@ jobs: - if: runner.os == 'windows' run: | + reg add HKLM\System\CurrentControlSet\Control /v ServicesPipeTimeout /t REG_DWORD /d 300000 /f Set-Service mongodb -StartupType Automatic + Start-Sleep -Seconds 3 Start-Service -Name MongoDB - uses: r-lib/actions/setup-r@v2