Skip to content

Commit af64f53

Browse files
committed
Merge branch 'master' of https://github.com/asgr/ProFound
2 parents 0ee25f0 + b86833a commit af64f53

3 files changed

Lines changed: 14 additions & 28 deletions

File tree

.github/workflows/main.yml

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,7 @@ jobs:
3535
run: |
3636
brew update
3737
brew install --cask xquartz
38-
39-
- name: Install X11 on Ubuntu
40-
if: runner.os == 'Linux'
41-
run: |
42-
sudo apt-get update
43-
sudo apt-get install -y \
44-
xorg \
45-
xvfb \
46-
libx11-dev \
47-
libxext-dev \
48-
libxrender-dev \
49-
libxtst-dev \
50-
libxi-dev
51-
38+
5239
- uses: r-lib/actions/setup-pandoc@v2
5340

5441
- uses: r-lib/actions/setup-r@v2
@@ -57,19 +44,20 @@ jobs:
5744
http-user-agent: ${{ matrix.config.http-user-agent }}
5845
use-public-rspm: true
5946

47+
- uses: r-lib/actions/setup-r-dependencies@v2
48+
with:
49+
dependencies: '"hard"'
50+
extra-packages: any::rcmdcheck,
51+
github::asgr/Rwcs@master,
52+
github::asgr/Rfits@master,
53+
github::ICRAR/ProFit@master,
54+
any::hdf5r,
55+
any::knitr,
56+
any::rmarkdown,
57+
any::imager
58+
6059
- name: Install dependencies
6160
run: |
62-
install.packages('remotes')
63-
install.packages('hdf5r')
64-
install.packages('knitr')
65-
install.packages('rmarkdown')
66-
install.packages('igraph')
67-
remotes::install_github("asgr/imager", ref="low-depend") #to make sure we have the easy to install one, not CRAN
68-
remotes::install_deps(dependencies = TRUE)
69-
remotes::install_cran("rcmdcheck")
70-
remotes::install_github("asgr/Rwcs", ref="master")
71-
remotes::install_github("asgr/Rfits", ref="master")
72-
remotes::install_github("ICRAR/ProFit", ref="master")
7361
shell: Rscript {0}
7462

7563
- uses: r-lib/actions/check-r-package@v2

man/profoundApplyMask.Rd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ Aaron Robotham
121121
\code{\link{profoundEllipseSeg}}
122122
}
123123
\examples{
124-
\dontrun{
125124
image = Rfits_read_image(system.file("extdata", 'VIKING/mystery_VIKING_Z.fits',
126125
package="ProFound"))$imDat
127126

@@ -147,7 +146,6 @@ poly = data.frame(RA = c(352.2922, 352.2958, 352.2954, 352.2904, 352.2870, 352.2
147146

148147
mask_coord = profoundDrawMask(image, poly=poly, mode='apply', type='coord')
149148
}
150-
}
151149
% Add one or more standard keywords, see file 'KEYWORDS' in the
152150
% R documentation directory (show via RShowDoc("KEYWORDS")):
153151
% \keyword{ ~kwd1 }

vignettes/ProFound-Blender.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ knitr::opts_chunk$set(
2020
evalglobal=FALSE
2121
```
2222

23-
```{r, eval=evalglobal}
23+
```{r}
2424
library(ProFound)
2525
library(ProFit)
2626
library(RANN)

0 commit comments

Comments
 (0)