Title: | Publish Packages and Other Resources to AnVIL Workspaces |
---|---|
Description: | Use this package to create or update AnVIL workspaces from resources such as R / Bioconductor packages. The metadata about the package (e.g., select information from the package DESCRIPTION file and from vignette YAML headings) are used to populate the 'DASHBOARD'. Vignettes are translated to python notebooks ready for evaluation in AnVIL. |
Authors: | Marcel Ramos [aut, cre] , Martin Morgan [aut] , Kayla Interdonato [aut], Vincent Carey [ctb] |
Maintainer: | Marcel Ramos <[email protected]> |
License: | Artistic-2.0 |
Version: | 1.17.0 |
Built: | 2024-10-29 23:14:34 UTC |
Source: | https://github.com/Bioconductor/AnVILPublish |
add_access()
adds the
Bioconductor_User
group to a workspace with READER
permissions. Users gain access to the workspace (and others) by
being added to the Bioconductor_User group.
add_access(namespace, name)
add_access(namespace, name)
namespace |
character(1) namespace (billing account) under which the workspace belongs. |
name |
character(1) name of the workspace to add access credentials. |
add_access()
returns TRUE, invisibly.
as_notebook()
renders Rmarkdown (.Rmd
) or Quarto
(.Qmd
) vignettes as Juptyer (.ipynb
) notebooks. The
vignettes and notebooks are updated in an AnVIL workspace.
as_notebook( rmd_paths, namespace, name, update = FALSE, type = c("ipynb", "rmd", "both"), quarto = c("render", "convert") )
as_notebook( rmd_paths, namespace, name, update = FALSE, type = c("ipynb", "rmd", "both"), quarto = c("render", "convert") )
rmd_paths |
|
namespace |
|
name |
|
update |
|
type |
|
quarto |
|
See the vignette "Publishing R / Bioconductor Packages To AnVIL Workspaces" for details on the conversion process; best results are obtained when Quarto software is available.
as_notebook()
returns the paths to the local (if update = FALSE
) or the workspace notebooks.
as_workspace()
renders a package source tree (e.g.,
from a git checkout) as an AnVIL workspace.
as_workspace( path, namespace, name = NULL, create = FALSE, update = FALSE, use_readme = FALSE, type = c("ipynb", "rmd", "both"), quarto = c("render", "convert") )
as_workspace( path, namespace, name = NULL, create = FALSE, update = FALSE, use_readme = FALSE, type = c("ipynb", "rmd", "both"), quarto = c("render", "convert") )
path |
|
namespace |
|
name |
|
create |
|
update |
|
use_readme |
|
type |
|
quarto |
|
Information from the DESCRIPTION file and Rmd YAML are
used to populate the 'DASHBOARD' tab. See ?as_notebook()
for
details on how vignettes are processed to notebooks.
as_workspace()
returns the URL of the updated workspace,
invisibly.