File: com.r

package info (click to toggle)
littler 0.3.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 848 kB
  • sloc: ansic: 586; sh: 132; makefile: 5
file content (14 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env r
#
# Minimal rhub::check_on_macos() wrapper
#
# Copyright (C) 2016 - 2020  Dirk Eddelbuettel
#
# Released under GPL (>= 2)

##rhub::check_on_macos(check_args="--no-manual --no-vignettes")
## cf https://github.com/r-hub/rhub/issues/368
macos <- "macos-highsierra-release-cran"
checkfile <- function(f) if (file.exists(f)) rhub::check(f, platform=macos)
if (length(argv) == 0) argv <- "."
sapply(argv, checkfile)