A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/uptake/pkgnet/issues/121 below:

testing strategy is not portable to windows · Issue #121 · uptake/pkgnet · GitHub

As of #108 , we added a bunch of new stuff to make our code testable on CRAN.

To make forward progress on the issues faced in that PR, we made a choice to use an approach that is Linux-specific (calling which -a R).

Addressing this issue means replacing this: https://github.com/UptakeOpenSource/pkgnet/blob/master/R/testing_utils.R#L46 or wrapping it in some kind of if-else statement of the form

if (ON UNIX_ALIKE){
    R_LOC <- system("which -a R", intern = TRUE)
    R_LOC <- R_LOC[!grepl("R_check_bin", R_LOC)][1]
} else {
    other_stuff()
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4