Simulate Package Installation and Attach

Simulates the process of installing a package and then attaching it. This is a key part of the 'devtools' package as it allows you to rapidly iterate while developing a package.


pkgload

Codecov test coverage R-CMD-check

The goal of pkgload is to simulate the process of installing and loading a package, without actually doing the complete process, and hence making package iteration much faster. This was previously part of devtools (it was in fact the original motivation) but has been moved into its own package as part of the devtools conscious uncoupling.

Usage

In most cases you will not use pkgload directly, and instead you'll call it via devtools::load_all().

devtools::load_all()

Code of Conduct

Please note that the pkgload project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("pkgload")

1.5.3 by Lionel Henry, 4 months ago


https://github.com/r-lib/pkgload, https://pkgload.r-lib.org


Report a bug at https://github.com/r-lib/pkgload/issues


Browse source code at https://github.com/cran/pkgload


Authors: Hadley Wickham [aut] , Winston Chang [aut] , Jim Hester [aut] , Lionel Henry [aut, cre] , Posit Software , PBC [cph, fnd] , R Core team [ctb] (Some namespace and vignette code extracted from base R)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli, desc, fs, glue, lifecycle, methods, pkgbuild, processx, rlang, rprojroot, utils

Suggests bitops, jsonlite, mathjaxr, pak, Rcpp, remotes, rstudioapi, testthat, usethis, withr


Imported by DataPackageR, MainExistingDatasets, PhilipsHue, autotest, checkhelper, cleanr, detectseparation, devtools, doctest, fusen, gwpcormapper, laminr, madrat, mutator, orderly, packager, rbmi, riskmetric, roxygen2, shinytest2, srcpkgs, test.assessr, testthat, testthis, tidyCDISC.

Suggested by DBItest, FastRet, GreedyExperimentalDesign, HandTill2001, HealthMarkers, HeatStressR, Immutables, LightLogR, MakefileR, NetSimR, PatientLevelPrediction, PublicationBiasBenchmark, ReliaGrowR, Require, ReviewR, Rfuzzydid, Ryacas, SIAtools, SelectBoost.quantile, SpaDES.core, Spectran, TestDesign, activAnalyzer, aisdk, arrow, autoimport, bayesTLS, bifactory, bigbang, bioLeak, bluertopo, blvim, btw, butcher, ccar3, cdmetapopR, climatehealth, colleyRstats, commons, conflicted, cppally, cucumber, dataquieR, dawnn, doclisting, document, downlit, dragonfarm, drmTMB, dynwrap, evaluate, excerptr, exdqlm, fakemake, fledge, flexstanr, fmrihrf, fritools, fritools2, generics, geocodebr, ggRandomForests, ggWebGL, ggfun, glasstabs, golem, httptest, httptest2, imuGAP, inlcolor, inlpubs, integrity, irid, isoexplorer, ivue, kamila, leprechaun, maSAE, maidr, metabodecon, metabodeconplus, mimar, mockr, mockthat, multiScaleR, nbsurv, nlmixr2scm, odin, options, ordinalsimr, pairwiseLLM, pak, pakret, parzer, pkgdown, plssem, potions, precommit, prompt, proximetricsR, psborrow, quarto, quickr, rBDAT, rasciidoc, readtext, ready4, renv, ricu, risk.assessr, rlang, rpkgkit, rqti, rstantools, rtForecastEval, scenes, scrutiny, senseweight, shard, shinyCohortBuilder, shinyOAuth, shinyquiz, splitGraph, surveyframe, tabxplor, targets, teal.modules.clinical, teal.modules.general, tfrmtbuilder, tibble, tidycreel, treePlotArea, usethis, verifyr2, viewpoly, wcvpmatch, webmap, xpose.xtras.

Enhanced by rprofile.


See at CRAN