I have a source file with oxygen-style comments (and description & licence
files), and I’m trying to build a package. oxygen & devtools seem to work, and
the tarball exists, but install.packages balks. Does anyone know what’s
happening?
Regards,
Jorgen Harmse.
> roxygenise(package.dir,clean=T
В Wed, 20 Mar 2024 16:02:27 +
Jorgen Harmse via R-help пишет:
> > install.packages(tar,type='source',repos=NULL)
>
> Error in library(jhBase) : there is no package called ‘jhBase’
>
> Execution halted
>
> Warning in install.packages(tar, type = "source", repos = NULL) :
>
> installati
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
RStudio console and from an external "R --vanilla" gives identical results.
I thought at on
Thank you, but I think I was already using utils.
Regards,
Jorgen.
> environment(install.packages)
> utils::install.packages('/Users/jharmse/Library/CloudStorage/OneDrive-RokuInc/jhBase_1.0.1.tar.gz',type='source',repos=NULL)
Error in library(jhBase) : there is no package called �jhBase�
Ex
On 20/03/2024 12:37 p.m., Ben Bolker wrote:
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
RStudio console and from an external "R --vanilla"
Is the source for your package online somewhere?
Duncan Murdoch
On 20/03/2024 1:00 p.m., Jorgen Harmse via R-help wrote:
Thank you, but I think I was already using utils.
Regards,
Jorgen.
environment(install.packages)
utils::install.packages('/Users/jharmse/Library/CloudStorage/OneDriv
On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
On 20/03/2024 12:37 p.m., Ben Bolker wrote:
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
R
В Wed, 20 Mar 2024 12:37:39 -0400
Ben Bolker пишет:
> Ivan, can you give more detail on this? I've heard this issue
> mentioned, but when I open RStudio and run find("install.packages")
> it returns "utils::install.packages", and running dump() from within
> RStudio console and from an external
Hmm, looks platform-specific. Under Linux both RStudio and external
R console return
a0b52513622c41c11e3ef57c7a485767
for digest::digest(install.packages)
On 2024-03-20 1:20 p.m., Duncan Murdoch wrote:
On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
On 20/03/2024 12:37 p.m., Ben Bolker wro
Dear community
I am using ggraph to plot a network analysis. See part 2 in the working
example.
Besides different colors for different groups of nodes:
--> geom_node_point(aes(size = V(network)$hub_score*200, color=
as.factor(V(network)$community)))
I additionally want to consider different colors
I was thinking of making it Open Source, but I haven’t yet. It’s mostly a
collection of small utility functions (more oxygen comments than actual code).
I built the package on my Windows machine a few months ago, but my Mac first
wouldn’t install roygen2 & devtools and now (with the latest versi
В Wed, 20 Mar 2024 17:00:34 +
Jorgen Harmse пишет:
> Thank you, but I think I was already using utils.
>
> Regards,
> Jorgen.
>
>
> > environment(install.packages)
>
>
>
> > utils::install.packages('/Users/jharmse/Library/CloudStorage/OneDrive-RokuInc/jhBase_1.0.1.tar.gz',type='source
Thank you. tools:::.install_packages works.
It happens that one of the functions in my package is a utility to build
packages. I guess I should change the install step.
Regards,
Jorgen.
#' Build package from source
#'
#' \code{roxygen2} & \code{devtools} have several steps to build a packag
В Wed, 20 Mar 2024 19:26:53 +
Jorgen Harmse пишет:
> Thank you. tools:::.install_packages works.
I'm glad it works, but it shouldn't be necessary to use (and is not
part of the API: not documented to keep working this way).
Since you're already using devtools, perhaps devtools::install will
14 matches
Mail list logo